postgresql/src
Neil Conway 51b2f8ba55 This patch changes int2_avg_accum() and int4_avg_accum() use the nodeAgg
performance hack Tom introduced recently. This means we can avoid
copying the transition array for each input tuple if these functions
are invoked as aggregate transition functions.

To test the performance improvement, I created a 1 million row table
with a single int4 column. Without the patch, SELECT avg(col) FROM
table took about 4.2 seconds (after the data was cached); with the
patch, it took about 3.2 seconds. Naturally, the performance
improvement for a less trivial query (or a table with wider rows)
would be relatively smaller.
2005-04-04 23:50:27 +00:00
..
backend This patch changes int2_avg_accum() and int4_avg_accum() use the nodeAgg 2005-04-04 23:50:27 +00:00
bin Minor fixes for psql tab completion. Spell "absolute" like the English word, 2005-04-04 07:19:44 +00:00
corba make sure the $Id tags are converted to $PostgreSQL as well ... 2003-11-29 22:41:33 +00:00
include First phase of OUT-parameters project. We can now define and use SQL 2005-03-31 22:46:33 +00:00
interfaces Kerberos fixes from Magnus Hagander --- in theory Kerberos 5 auth 2005-03-25 00:34:31 +00:00
makefiles Revert -Wl, change to Makefile.osf, as the allegedly more standard 2005-01-06 20:56:50 +00:00
pl Make plperl work with OUT parameters. 2005-04-01 19:34:06 +00:00
port Kerberos fixes from Magnus Hagander --- in theory Kerberos 5 auth 2005-03-25 00:34:31 +00:00
template Support Sun's compiler on SunOS4 (a/k/a Solaris 9). Per ayan@ayan.net 2004-12-29 23:47:40 +00:00
test First phase of OUT-parameters project. We can now define and use SQL 2005-03-31 22:46:33 +00:00
timezone Properly undef _(x) gettext macro. 2005-02-23 04:34:21 +00:00
tools Update pgcvslog examples. 2005-04-01 16:34:31 +00:00
tutorial Adjust src/tutorial Makefile so that it can use pgxs. This allows the 2005-01-13 18:23:22 +00:00
utils PostgreSQL extension makefile framework ("pgxs"), by Fabien Coelho, with 2004-07-30 12:26:40 +00:00
bcc32.mak $Header: -> $PostgreSQL Changes ... 2003-11-29 19:52:15 +00:00
DEVELOPERS just testing a script... 1999-07-30 03:45:57 +00:00
Makefile Adjust src/tutorial Makefile so that it can use pgxs. This allows the 2005-01-13 18:23:22 +00:00
Makefile.global.in Use 'cp' and 'chmod' in place of 'install' to install header files. 2005-03-25 23:22:54 +00:00
Makefile.shlib Fix up makefile dependencies for pg_config_paths.h. 2004-11-20 21:13:06 +00:00
nls-global.mk More locale fixes for pg_ctl. 2004-06-01 03:32:42 +00:00
win32.mak $Header: -> $PostgreSQL Changes ... 2003-11-29 19:52:15 +00:00