File tree 5 files changed +5
-17
lines changed
5 files changed +5
-17
lines changed Original file line number Diff line number Diff line change 15
15
* Portions Copyright (c) 1994, Regents of the University of California
16
16
*
17
17
* IDENTIFICATION
18
- * $PostgreSQL: pgsql/src/backend/nodes/copyfuncs.c,v 1.389 2008/03/20 21:42:47 tgl Exp $
18
+ * $PostgreSQL: pgsql/src/backend/nodes/copyfuncs.c,v 1.390 2008/03/21 22:41:48 tgl Exp $
19
19
*
20
20
*-------------------------------------------------------------------------
21
21
*/
@@ -1714,7 +1714,6 @@ _copyTypeName(TypeName *from)
1714
1714
1715
1715
COPY_NODE_FIELD (names );
1716
1716
COPY_SCALAR_FIELD (typeid );
1717
- COPY_SCALAR_FIELD (timezone );
1718
1717
COPY_SCALAR_FIELD (setof );
1719
1718
COPY_SCALAR_FIELD (pct_type );
1720
1719
COPY_NODE_FIELD (typmods );
Original file line number Diff line number Diff line change 18
18
* Portions Copyright (c) 1994, Regents of the University of California
19
19
*
20
20
* IDENTIFICATION
21
- * $PostgreSQL: pgsql/src/backend/nodes/equalfuncs.c,v 1.319 2008/03/20 21:42 :48 tgl Exp $
21
+ * $PostgreSQL: pgsql/src/backend/nodes/equalfuncs.c,v 1.320 2008/03/21 22:41 :48 tgl Exp $
22
22
*
23
23
*-------------------------------------------------------------------------
24
24
*/
@@ -1753,7 +1753,6 @@ _equalTypeName(TypeName *a, TypeName *b)
1753
1753
{
1754
1754
COMPARE_NODE_FIELD (names );
1755
1755
COMPARE_SCALAR_FIELD (typeid );
1756
- COMPARE_SCALAR_FIELD (timezone );
1757
1756
COMPARE_SCALAR_FIELD (setof );
1758
1757
COMPARE_SCALAR_FIELD (pct_type );
1759
1758
COMPARE_NODE_FIELD (typmods );
Original file line number Diff line number Diff line change 8
8
*
9
9
*
10
10
* IDENTIFICATION
11
- * $PostgreSQL: pgsql/src/backend/nodes/outfuncs.c,v 1.323 2008/03/20 21:42 :48 tgl Exp $
11
+ * $PostgreSQL: pgsql/src/backend/nodes/outfuncs.c,v 1.324 2008/03/21 22:41 :48 tgl Exp $
12
12
*
13
13
* NOTES
14
14
* Every node type that can appear in stored rules' parsetrees *must*
@@ -1668,7 +1668,6 @@ _outTypeName(StringInfo str, TypeName *node)
1668
1668
1669
1669
WRITE_NODE_FIELD (names );
1670
1670
WRITE_OID_FIELD (typeid );
1671
- WRITE_BOOL_FIELD (timezone );
1672
1671
WRITE_BOOL_FIELD (setof );
1673
1672
WRITE_BOOL_FIELD (pct_type );
1674
1673
WRITE_NODE_FIELD (typmods );
Original file line number Diff line number Diff line change 11
11
*
12
12
*
13
13
* IDENTIFICATION
14
- * $PostgreSQL: pgsql/src/backend/parser/gram.y,v 2.609 2008/03/20 21:42 :48 tgl Exp $
14
+ * $PostgreSQL: pgsql/src/backend/parser/gram.y,v 2.610 2008/03/21 22:41 :48 tgl Exp $
15
15
*
16
16
* HISTORY
17
17
* AUTHOR DATE MAJOR EVENT
@@ -7198,10 +7198,6 @@ ConstDatetime:
7198
7198
$$ = SystemTypeName(" timestamptz" );
7199
7199
else
7200
7200
$$ = SystemTypeName(" timestamp" );
7201
- /* XXX the timezone field seems to be unused
7202
- * - thomas 2001-09-06
7203
- */
7204
- $$ ->timezone = $5 ;
7205
7201
$$ ->typmods = list_make1(makeIntConst($3 ));
7206
7202
$$ ->location = @1 ;
7207
7203
}
@@ -7211,10 +7207,6 @@ ConstDatetime:
7211
7207
$$ = SystemTypeName(" timestamptz" );
7212
7208
else
7213
7209
$$ = SystemTypeName(" timestamp" );
7214
- /* XXX the timezone field seems to be unused
7215
- * - thomas 2001-09-06
7216
- */
7217
- $$ ->timezone = $2 ;
7218
7210
$$ ->location = @1 ;
7219
7211
}
7220
7212
| TIME ' (' Iconst ' )' opt_timezone
Original file line number Diff line number Diff line change 7
7
* Portions Copyright (c) 1996-2008, PostgreSQL Global Development Group
8
8
* Portions Copyright (c) 1994, Regents of the University of California
9
9
*
10
- * $PostgreSQL: pgsql/src/include/nodes/parsenodes.h,v 1.360 2008/03/20 21:42 :48 tgl Exp $
10
+ * $PostgreSQL: pgsql/src/include/nodes/parsenodes.h,v 1.361 2008/03/21 22:41 :48 tgl Exp $
11
11
*
12
12
*-------------------------------------------------------------------------
13
13
*/
@@ -165,7 +165,6 @@ typedef struct TypeName
165
165
NodeTag type ;
166
166
List * names ; /* qualified name (list of Value strings) */
167
167
Oid typeid ; /* type identified by OID */
168
- bool timezone ; /* timezone specified? */
169
168
bool setof ; /* is a set? */
170
169
bool pct_type ; /* %TYPE specified? */
171
170
List * typmods ; /* type modifier expression(s) */
You can’t perform that action at this time.
0 commit comments