Skip to content

Commit a6bf340

Browse files
committed
Repair incorrect prorettype entry for timestamptz_izone. Can't force
initdb in the 7.3 branch, but we can at least make it right for people who install 7.3.3 from scratch.
1 parent 77ce535 commit a6bf340

File tree

1 file changed

+8
-8
lines changed

1 file changed

+8
-8
lines changed

src/include/catalog/pg_proc.h

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
* Portions Copyright (c) 1996-2002, PostgreSQL Global Development Group
88
* Portions Copyright (c) 1994, Regents of the University of California
99
*
10-
* $Id: pg_proc.h,v 1.286 2003/03/10 22:28:20 tgl Exp $
10+
* $Id: pg_proc.h,v 1.287 2003/03/14 04:43:52 tgl Exp $
1111
*
1212
* NOTES
1313
* The script catalog/genbki.sh reads this file and generates .bki
@@ -1283,8 +1283,8 @@ DESCR("convert timetz to text");
12831283

12841284
/* OIDS 1000 - 1999 */
12851285

1286-
DATA(insert OID = 1026 ( timezone PGNSP PGUID 12 f f t f s 2 1186 "1186 1184" timestamptz_izone - _null_ ));
1287-
DESCR("time zone");
1286+
DATA(insert OID = 1026 ( timezone PGNSP PGUID 12 f f t f s 2 1114 "1186 1184" timestamptz_izone - _null_ ));
1287+
DESCR("adjust timestamp to new time zone");
12881288

12891289
DATA(insert OID = 1029 ( nullvalue PGNSP PGUID 12 f f f f i 1 16 "2276" nullvalue - _null_ ));
12901290
DESCR("(internal)");
@@ -1418,7 +1418,7 @@ DESCR("greater-than-or-equal");
14181418
DATA(insert OID = 1157 ( timestamptz_gt PGNSP PGUID 12 f f t f i 2 16 "1184 1184" timestamp_gt - _null_ ));
14191419
DESCR("greater-than");
14201420
DATA(insert OID = 1159 ( timezone PGNSP PGUID 12 f f t f s 2 1114 "25 1184" timestamptz_zone - _null_ ));
1421-
DESCR("timestamp at a specified time zone");
1421+
DESCR("adjust timestamp to new time zone");
14221422

14231423
DATA(insert OID = 1160 ( interval_in PGNSP PGUID 12 f f t f s 3 1186 "2275 26 23" interval_in - _null_ ));
14241424
DESCR("(internal)");
@@ -2849,9 +2849,9 @@ DESCR("smaller of two");
28492849
DATA(insert OID = 2036 ( timestamp_larger PGNSP PGUID 12 f f t f i 2 1114 "1114 1114" timestamp_larger - _null_ ));
28502850
DESCR("larger of two");
28512851
DATA(insert OID = 2037 ( timezone PGNSP PGUID 12 f f t f s 2 1266 "25 1266" timetz_zone - _null_ ));
2852-
DESCR("time with time zone");
2852+
DESCR("adjust time with time zone to new zone");
28532853
DATA(insert OID = 2038 ( timezone PGNSP PGUID 12 f f t f i 2 1266 "1186 1266" timetz_izone - _null_ ));
2854-
DESCR("time with time zone");
2854+
DESCR("adjust time with time zone to new zone");
28552855
DATA(insert OID = 2041 ( overlaps PGNSP PGUID 12 f f f f i 4 16 "1114 1114 1114 1114" overlaps_timestamp - _null_ ));
28562856
DESCR("SQL92 interval comparison");
28572857
DATA(insert OID = 2042 ( overlaps PGNSP PGUID 14 f f f f i 4 16 "1114 1186 1114 1186" "select ($1, ($1 + $2)) overlaps ($3, ($3 + $4))" - _null_ ));
@@ -2892,9 +2892,9 @@ DATA(insert OID = 2059 ( age PGNSP PGUID 14 f f t f s 1 1186 "1114" "select
28922892
DESCR("date difference from today preserving months and years");
28932893

28942894
DATA(insert OID = 2069 ( timezone PGNSP PGUID 12 f f t f s 2 1184 "25 1114" timestamp_zone - _null_ ));
2895-
DESCR("timestamp at a specified time zone");
2895+
DESCR("adjust timestamp to new time zone");
28962896
DATA(insert OID = 2070 ( timezone PGNSP PGUID 12 f f t f s 2 1184 "1186 1114" timestamp_izone - _null_ ));
2897-
DESCR("time zone");
2897+
DESCR("adjust timestamp to new time zone");
28982898
DATA(insert OID = 2071 ( date_pl_interval PGNSP PGUID 14 f f t f i 2 1114 "1082 1186" "select cast($1 as timestamp without time zone) + $2;" - _null_ ));
28992899
DESCR("add");
29002900
DATA(insert OID = 2072 ( date_mi_interval PGNSP PGUID 14 f f t f i 2 1114 "1082 1186" "select cast($1 as timestamp without time zone) - $2;" - _null_ ));

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy