Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
Skip to content

Commit 6fff5c3

Browse files
committed
Remove typename from A_Const.
Brendan Jurd, minor editorialization by me.
1 parent 339570f commit 6fff5c3

File tree

11 files changed

+150
-192
lines changed

11 files changed

+150
-192
lines changed

src/backend/nodes/copyfuncs.c

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
* Portions Copyright (c) 1994, Regents of the University of California
1616
*
1717
* IDENTIFICATION
18-
* $PostgreSQL: pgsql/src/backend/nodes/copyfuncs.c,v 1.392 2008/04/14 17:05:33 tgl Exp $
18+
* $PostgreSQL: pgsql/src/backend/nodes/copyfuncs.c,v 1.393 2008/04/29 14:59:16 alvherre Exp $
1919
*
2020
*-------------------------------------------------------------------------
2121
*/
@@ -1639,8 +1639,6 @@ _copyAConst(A_Const *from)
16391639
break;
16401640
}
16411641

1642-
COPY_NODE_FIELD(typename);
1643-
16441642
return newnode;
16451643
}
16461644

src/backend/nodes/equalfuncs.c

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818
* Portions Copyright (c) 1994, Regents of the University of California
1919
*
2020
* IDENTIFICATION
21-
* $PostgreSQL: pgsql/src/backend/nodes/equalfuncs.c,v 1.321 2008/04/14 17:05:33 tgl Exp $
21+
* $PostgreSQL: pgsql/src/backend/nodes/equalfuncs.c,v 1.322 2008/04/29 14:59:16 alvherre Exp $
2222
*
2323
*-------------------------------------------------------------------------
2424
*/
@@ -1693,7 +1693,6 @@ _equalAConst(A_Const *a, A_Const *b)
16931693
{
16941694
if (!equal(&a->val, &b->val)) /* hack for in-line Value field */
16951695
return false;
1696-
COMPARE_NODE_FIELD(typename);
16971696

16981697
return true;
16991698
}

src/backend/nodes/outfuncs.c

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
*
99
*
1010
* IDENTIFICATION
11-
* $PostgreSQL: pgsql/src/backend/nodes/outfuncs.c,v 1.325 2008/04/13 20:51:20 tgl Exp $
11+
* $PostgreSQL: pgsql/src/backend/nodes/outfuncs.c,v 1.326 2008/04/29 14:59:16 alvherre Exp $
1212
*
1313
* NOTES
1414
* Every node type that can appear in stored rules' parsetrees *must*
@@ -1945,7 +1945,6 @@ _outAConst(StringInfo str, A_Const *node)
19451945

19461946
appendStringInfo(str, " :val ");
19471947
_outValue(str, &(node->val));
1948-
WRITE_NODE_FIELD(typename);
19491948
}
19501949

19511950
static void

0 commit comments

Comments
 (0)