[PATCHES] tools/entab/halt.c compile fix

2005-04-10 Thread Niels Breet
This patch changes the use of varargs.h to stdarg.h as required by GCC. Niels Breet Index: halt.c === RCS file: /projects/cvsroot/pgsql/src/tools/entab/halt.c,v retrieving revision 1.5 diff -c -r1.5 halt.c *** halt.c 22 Mar 20

[PATCHES] remove an unused variable waitingForSignal

2005-04-10 Thread Qingqing Zhou
Remove an unused variable waitingForSignal in /storage/lmgr/proc.c. I guess it was there because orignally PG uses singals to implement ProcWaitForSignal() stuff, so we may need to remember the process status. But now we don't need it. Index: proc.c ===

[PATCHES] Proof of concept for MIN/MAX optimization

2005-04-10 Thread Tom Lane
I haven't done the work yet to add a column to pg_aggregate, so this just knows about optimizing a couple of hard-wired cases (int4 and text). Other than that it's reasonably complete, I think. Comments? regards, tom lane binNkvLb5n8b6.bin Description: minmax-0.patch.g