postgresql/src/backend/utils
Tom Lane 5f7c2bdb53 sum() on int2 and int4 columns now uses an int8, not numeric, accumulator
for speed reasons; its result type also changes to int8.  avg() on these
datatypes now accumulates the running sum in int8 for speed; but we still
deliver the final result as numeric, so that fractional accuracy is
preserved.

count() now counts and returns in int8, not int4.  I am a little nervous
about this possibly breaking users' code, but there didn't seem to be
a strong sentiment for avoiding the problem.  If we get complaints during
beta, we can change count back to int4 and add a "count8" aggregate.
For that matter, users can do it for themselves with a simple CREATE
AGGREGATE command; the int4inc function is still present, so no C hacking
is needed.

Also added max() and min() aggregates for OID that do proper unsigned
comparison, instead of piggybacking on int4 aggregates.

initdb forced.
2001-08-14 22:21:59 +00:00
..
adt sum() on int2 and int4 columns now uses an int8, not numeric, accumulator 2001-08-14 22:21:59 +00:00
cache Make OIDs optional, per discussions in pghackers. WITH OIDS is still the 2001-08-10 18:57:42 +00:00
error Use a fixed error message for ERANGE to avoid duplicate test result files. 2001-08-06 21:55:16 +00:00
fmgr sum() on int2 and int4 columns now uses an int8, not numeric, accumulator 2001-08-14 22:21:59 +00:00
hash Statistical system views (yet without the config stuff, but 2001-06-22 19:16:24 +00:00
init Seems like a bad idea to free() a string we are about to use in an 2001-08-06 18:17:42 +00:00
mb TODO item: 2001-07-15 11:07:37 +00:00
misc Check that the data directory does not have group or world access; remove 2001-08-06 13:45:15 +00:00
mmgr pgindent run. Make it all clean. 2001-03-22 04:01:46 +00:00
sort Tweak sorting so that nulls appear at the front of a descending sort 2001-06-02 19:01:53 +00:00
time Improve documentation about reasoning behind the order of operations 2001-07-16 22:43:34 +00:00
.cvsignore
Gen_fmgrtab.sh The Watcom preprocessor adds a space at the start of each line. Therefore 2001-05-22 12:06:51 +00:00
Makefile