diff options
| author | Tom Lane <tgl@sss.pgh.pa.us> | 2000-07-17 03:05:41 +0000 |
|---|---|---|
| committer | Tom Lane <tgl@sss.pgh.pa.us> | 2000-07-17 03:05:41 +0000 |
| commit | bec98a31c55a4f799b398d01541e68d7c086bb81 (patch) | |
| tree | 14924bb5da2bc0a0f9bfac1aa5b32256fd996b9c /src/backend/libpq | |
| parent | 139f19c30221968e7d3bf64fe303cb41517e4601 (diff) | |
| download | postgresql-bec98a31c55a4f799b398d01541e68d7c086bb81.tar.gz | |
Revise aggregate functions per earlier discussions in pghackers.
There's now only one transition value and transition function.
NULL handling in aggregates is a lot cleaner. Also, use Numeric
accumulators instead of integer accumulators for sum/avg on integer
datatypes --- this avoids overflow at the cost of being a little slower.
Implement VARIANCE() and STDDEV() aggregates in the standard backend.
Also, enable new LIKE selectivity estimators by default. Unrelated
change, but as long as I had to force initdb anyway...
Diffstat (limited to 'src/backend/libpq')
| -rw-r--r-- | src/backend/libpq/be-fsstubs.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/backend/libpq/be-fsstubs.c b/src/backend/libpq/be-fsstubs.c index 929ddad5aa..8d3af03664 100644 --- a/src/backend/libpq/be-fsstubs.c +++ b/src/backend/libpq/be-fsstubs.c @@ -8,7 +8,7 @@ * * * IDENTIFICATION - * $Header: /cvsroot/pgsql/src/backend/libpq/be-fsstubs.c,v 1.49 2000/07/07 21:12:53 tgl Exp $ + * $Header: /cvsroot/pgsql/src/backend/libpq/be-fsstubs.c,v 1.50 2000/07/17 03:04:54 tgl Exp $ * * NOTES * This should be moved to a more appropriate place. It is here @@ -43,6 +43,8 @@ #include "libpq/be-fsstubs.h" #include "libpq/libpq-fs.h" #include "storage/large_object.h" +#include "utils/memutils.h" + /* [PA] is Pascal André <andre@via.ecp.fr> */ |
