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/include/storage | |
| 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/include/storage')
| -rw-r--r-- | src/include/storage/lock.h | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/src/include/storage/lock.h b/src/include/storage/lock.h index 7ec383abe7..195842811a 100644 --- a/src/include/storage/lock.h +++ b/src/include/storage/lock.h @@ -7,18 +7,16 @@ * Portions Copyright (c) 1996-2000, PostgreSQL, Inc * Portions Copyright (c) 1994, Regents of the University of California * - * $Id: lock.h,v 1.38 2000/05/31 00:28:38 petere Exp $ + * $Id: lock.h,v 1.39 2000/07/17 03:05:30 tgl Exp $ * *------------------------------------------------------------------------- */ #ifndef LOCK_H_ #define LOCK_H_ -#include "postgres.h" #include "storage/ipc.h" #include "storage/itemptr.h" #include "storage/shmem.h" -#include "utils/array.h" extern SPINLOCK LockMgrLock; typedef int LOCKMASK; |
