Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 6e98930

Browse files
committed
The attached patch removes the last remnants of support for
'tioga recipes', whatever those are -- Peter E. killed most of it a couple days ago, but this patch removes the rest. Most of it was #ifdef'ed out anyway. Neil Conway
1 parent 874148f commit 6e98930

File tree

4 files changed

+5
-49
lines changed

4 files changed

+5
-49
lines changed

src/backend/parser/gram.y

Lines changed: 1 addition & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
*
1212
*
1313
* IDENTIFICATION
14-
* $Header: /cvsroot/pgsql/src/backend/parser/gram.y,v 2.350 2002/07/29 22:14:10 tgl Exp $
14+
* $Header: /cvsroot/pgsql/src/backend/parser/gram.y,v 2.351 2002/07/30 16:55:44 momjian Exp $
1515
*
1616
* HISTORY
1717
* AUTHOR DATE MAJOR EVENT
@@ -2950,23 +2950,6 @@ opt_class: any_name
29502950
| /*EMPTY*/ { $$ = NIL; }
29512951
;
29522952

2953-
/*****************************************************************************
2954-
*
2955-
* QUERY:
2956-
* execute recipe <recipeName>
2957-
*
2958-
*****************************************************************************/
2959-
2960-
/* NOT USED
2961-
RecipeStmt: EXECUTE RECIPE recipe_name
2962-
{
2963-
RecipeStmt *n = makeNode(RecipeStmt);
2964-
n->recipeName = $3;
2965-
$$ = (Node *)n;
2966-
}
2967-
;
2968-
*/
2969-
29702953
/*****************************************************************************
29712954
*
29722955
* QUERY:

src/backend/tcop/postgres.c

Lines changed: 2 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
*
99
*
1010
* IDENTIFICATION
11-
* $Header: /cvsroot/pgsql/src/backend/tcop/postgres.c,v 1.275 2002/07/30 05:35:53 momjian Exp $
11+
* $Header: /cvsroot/pgsql/src/backend/tcop/postgres.c,v 1.276 2002/07/30 16:55:45 momjian Exp $
1212
*
1313
* NOTES
1414
* this is the "main" module of the postgres backend and
@@ -1693,7 +1693,7 @@ PostgresMain(int argc, char *argv[], const char *username)
16931693
if (!IsUnderPostmaster)
16941694
{
16951695
puts("\nPOSTGRES backend interactive interface ");
1696-
puts("$Revision: 1.275 $ $Date: 2002/07/30 05:35:53 $\n");
1696+
puts("$Revision: 1.276 $ $Date: 2002/07/30 16:55:45 $\n");
16971697
}
16981698

16991699
/*
@@ -2352,12 +2352,6 @@ CreateCommandTag(Node *parsetree)
23522352
tag = "EXPLAIN";
23532353
break;
23542354

2355-
#ifdef NOT_USED
2356-
case T_RecipeStmt:
2357-
tag = "EXECUTE RECIPE";
2358-
break;
2359-
#endif
2360-
23612355
case T_VariableSetStmt:
23622356
tag = "SET";
23632357
break;

src/backend/tcop/utility.c

Lines changed: 1 addition & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
*
1111
*
1212
* IDENTIFICATION
13-
* $Header: /cvsroot/pgsql/src/backend/tcop/utility.c,v 1.166 2002/07/29 22:14:11 tgl Exp $
13+
* $Header: /cvsroot/pgsql/src/backend/tcop/utility.c,v 1.167 2002/07/30 16:55:45 momjian Exp $
1414
*
1515
*-------------------------------------------------------------------------
1616
*/
@@ -674,17 +674,6 @@ ProcessUtility(Node *parsetree,
674674
ExplainQuery((ExplainStmt *) parsetree, dest);
675675
break;
676676

677-
#ifdef NOT_USED
678-
679-
case T_RecipeStmt:
680-
{
681-
RecipeStmt *stmt = (RecipeStmt *) parsetree;
682-
683-
beginRecipe(stmt);
684-
}
685-
break;
686-
#endif
687-
688677
case T_VariableSetStmt:
689678
{
690679
VariableSetStmt *n = (VariableSetStmt *) parsetree;

src/include/nodes/parsenodes.h

Lines changed: 1 addition & 11 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: parsenodes.h,v 1.195 2002/07/29 22:14:11 tgl Exp $
10+
* $Id: parsenodes.h,v 1.196 2002/07/30 16:55:45 momjian Exp $
1111
*
1212
*-------------------------------------------------------------------------
1313
*/
@@ -1226,16 +1226,6 @@ typedef struct CommentStmt
12261226
char *comment; /* Comment to insert, or NULL to remove */
12271227
} CommentStmt;
12281228

1229-
/* ----------------------
1230-
* Begin Recipe Statement
1231-
* ----------------------
1232-
*/
1233-
typedef struct RecipeStmt
1234-
{
1235-
NodeTag type;
1236-
char *recipeName; /* name of the recipe */
1237-
} RecipeStmt;
1238-
12391229
/* ----------------------
12401230
* Fetch Statement
12411231
* ----------------------

0 commit comments

Comments
 (0)