File tree Expand file tree Collapse file tree 5 files changed +5
-51
lines changed Expand file tree Collapse file tree 5 files changed +5
-51
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
- * $Header: /cvsroot/pgsql/src/backend/nodes/copyfuncs.c,v 1.147 2001/07/12 18:02:59 tgl Exp $
18
+ * $Header: /cvsroot/pgsql/src/backend/nodes/copyfuncs.c,v 1.148 2001/07/16 19:07:37 momjian Exp $
19
19
*
20
20
*-------------------------------------------------------------------------
21
21
*/
@@ -2037,18 +2037,6 @@ _copyCommentStmt(CommentStmt *from)
2037
2037
return newnode ;
2038
2038
}
2039
2039
2040
- static ExtendStmt *
2041
- _copyExtendStmt (ExtendStmt * from )
2042
- {
2043
- ExtendStmt * newnode = makeNode (ExtendStmt );
2044
-
2045
- newnode -> idxname = pstrdup (from -> idxname );
2046
- Node_Copy (from , newnode , whereClause );
2047
- Node_Copy (from , newnode , rangetable );
2048
-
2049
- return newnode ;
2050
- }
2051
-
2052
2040
static FetchStmt *
2053
2041
_copyFetchStmt (FetchStmt * from )
2054
2042
{
@@ -2796,9 +2784,6 @@ copyObject(void *from)
2796
2784
case T_CommentStmt :
2797
2785
retval = _copyCommentStmt (from );
2798
2786
break ;
2799
- case T_ExtendStmt :
2800
- retval = _copyExtendStmt (from );
2801
- break ;
2802
2787
case T_FetchStmt :
2803
2788
retval = _copyFetchStmt (from );
2804
2789
break ;
Original file line number Diff line number Diff line change 20
20
* Portions Copyright (c) 1994, Regents of the University of California
21
21
*
22
22
* IDENTIFICATION
23
- * $Header: /cvsroot/pgsql/src/backend/nodes/equalfuncs.c,v 1.95 2001/07/12 18:02:59 tgl Exp $
23
+ * $Header: /cvsroot/pgsql/src/backend/nodes/equalfuncs.c,v 1.96 2001/07/16 19:07:38 momjian Exp $
24
24
*
25
25
*-------------------------------------------------------------------------
26
26
*/
@@ -898,19 +898,6 @@ _equalCommentStmt(CommentStmt *a, CommentStmt *b)
898
898
return true;
899
899
}
900
900
901
- static bool
902
- _equalExtendStmt (ExtendStmt * a , ExtendStmt * b )
903
- {
904
- if (!equalstr (a -> idxname , b -> idxname ))
905
- return false;
906
- if (!equal (a -> whereClause , b -> whereClause ))
907
- return false;
908
- if (!equal (a -> rangetable , b -> rangetable ))
909
- return false;
910
-
911
- return true;
912
- }
913
-
914
901
static bool
915
902
_equalFetchStmt (FetchStmt * a , FetchStmt * b )
916
903
{
@@ -1940,9 +1927,6 @@ equal(void *a, void *b)
1940
1927
case T_CommentStmt :
1941
1928
retval = _equalCommentStmt (a , b );
1942
1929
break ;
1943
- case T_ExtendStmt :
1944
- retval = _equalExtendStmt (a , b );
1945
- break ;
1946
1930
case T_FetchStmt :
1947
1931
retval = _equalFetchStmt (a , b );
1948
1932
break ;
Original file line number Diff line number Diff line change 11
11
*
12
12
*
13
13
* IDENTIFICATION
14
- * $Header: /cvsroot/pgsql/src/backend/parser/gram.y,v 2.237 2001/07/16 05:06:58 tgl Exp $
14
+ * $Header: /cvsroot/pgsql/src/backend/parser/gram.y,v 2.238 2001/07/16 19:07:40 momjian Exp $
15
15
*
16
16
* HISTORY
17
17
* AUTHOR DATE MAJOR EVENT
@@ -2469,7 +2469,6 @@ opt_class: class
2469
2469
| /* EMPTY*/ { $$ = NULL ; }
2470
2470
;
2471
2471
2472
-
2473
2472
/* ****************************************************************************
2474
2473
*
2475
2474
* QUERY:
Original file line number Diff line number Diff line change 7
7
* Portions Copyright (c) 1996-2001, PostgreSQL Global Development Group
8
8
* Portions Copyright (c) 1994, Regents of the University of California
9
9
*
10
- * $Id: nodes.h,v 1.91 2001/06/19 22:39:12 tgl Exp $
10
+ * $Id: nodes.h,v 1.92 2001/07/16 19:07:40 momjian Exp $
11
11
*
12
12
*-------------------------------------------------------------------------
13
13
*/
@@ -158,7 +158,6 @@ typedef enum NodeTag
158
158
T_DropStmt ,
159
159
T_TruncateStmt ,
160
160
T_CommentStmt ,
161
- T_ExtendStmt ,
162
161
T_FetchStmt ,
163
162
T_IndexStmt ,
164
163
T_ProcedureStmt ,
Original file line number Diff line number Diff line change 7
7
* Portions Copyright (c) 1996-2001, PostgreSQL Global Development Group
8
8
* Portions Copyright (c) 1994, Regents of the University of California
9
9
*
10
- * $Id: parsenodes.h,v 1.135 2001/07/12 18:03:00 tgl Exp $
10
+ * $Id: parsenodes.h,v 1.136 2001/07/16 19:07:40 momjian Exp $
11
11
*
12
12
*-------------------------------------------------------------------------
13
13
*/
@@ -465,19 +465,6 @@ typedef struct CommentStmt
465
465
char * comment ; /* The comment to insert */
466
466
} CommentStmt ;
467
467
468
- /* ----------------------
469
- * Extend Index Statement
470
- * ----------------------
471
- */
472
- typedef struct ExtendStmt
473
- {
474
- NodeTag type ;
475
- char * idxname ; /* name of the index */
476
- Node * whereClause ; /* qualifications */
477
- List * rangetable ; /* range table, filled in by
478
- * transformStmt() */
479
- } ExtendStmt ;
480
-
481
468
/* ----------------------
482
469
* Begin Recipe Statement
483
470
* ----------------------
You can’t perform that action at this time.
0 commit comments