diff options
author | Tom Lane | 2001-05-18 16:00:11 +0000 |
---|---|---|
committer | Tom Lane | 2001-05-18 16:00:11 +0000 |
commit | 1bf1481963d0d5751b40f2b88cb9bc844d92e997 (patch) | |
tree | 558f9da418aba872bd84283c1ce6de7e502153a7 | |
parent | d524c5a2be333095ac2b0c21a56dfa63b5194b0d (diff) |
Correct recently-broken avg(interval) definition. We can't force an
initdb to fix this in 7.1 installations, but it seems better to be
shipping a correct entry than a wrong one.
-rw-r--r-- | src/include/catalog/pg_aggregate.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/include/catalog/pg_aggregate.h b/src/include/catalog/pg_aggregate.h index 266fcf1bc4a..8f1b5fd9b65 100644 --- a/src/include/catalog/pg_aggregate.h +++ b/src/include/catalog/pg_aggregate.h @@ -8,7 +8,7 @@ * Portions Copyright (c) 1996-2001, PostgreSQL Global Development Group * Portions Copyright (c) 1994, Regents of the University of California * - * $Id: pg_aggregate.h,v 1.29 2001/03/22 04:00:36 momjian Exp $ + * $Id: pg_aggregate.h,v 1.29.2.1 2001/05/18 16:00:11 tgl Exp $ * * NOTES * the genbki.sh script reads this file and generates .bki @@ -87,7 +87,7 @@ DATA(insert OID = 0 ( avg PGUID int2_accum numeric_avg 21 1231 1700 "{0,0,0}" DATA(insert OID = 0 ( avg PGUID numeric_accum numeric_avg 1700 1231 1700 "{0,0,0}" )); DATA(insert OID = 0 ( avg PGUID float4_accum float8_avg 700 1022 701 "{0,0,0}" )); DATA(insert OID = 0 ( avg PGUID float8_accum float8_avg 701 1022 701 "{0,0,0}" )); -DATA(insert OID = 0 ( avg PGUID interval_accum interval_avg 1186 1187 1186 "{0,0}" )); +DATA(insert OID = 0 ( avg PGUID interval_accum interval_avg 1186 1187 1186 "{0 second,0 second}" )); DATA(insert OID = 0 ( sum PGUID int8_sum - 20 1700 1700 _null_ )); DATA(insert OID = 0 ( sum PGUID int4_sum - 23 1700 1700 _null_ )); |