mirror of
https://github.com/postgres/postgres.git
synced 2025-06-14 18:42:34 +03:00
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
This commit is contained in:
@ -11,7 +11,7 @@
|
|||||||
*
|
*
|
||||||
*
|
*
|
||||||
* IDENTIFICATION
|
* IDENTIFICATION
|
||||||
* $Header: /cvsroot/pgsql/src/backend/parser/gram.y,v 2.350 2002/07/29 22:14:10 tgl Exp $
|
* $Header: /cvsroot/pgsql/src/backend/parser/gram.y,v 2.351 2002/07/30 16:55:44 momjian Exp $
|
||||||
*
|
*
|
||||||
* HISTORY
|
* HISTORY
|
||||||
* AUTHOR DATE MAJOR EVENT
|
* AUTHOR DATE MAJOR EVENT
|
||||||
@ -2950,23 +2950,6 @@ opt_class: any_name
|
|||||||
| /*EMPTY*/ { $$ = NIL; }
|
| /*EMPTY*/ { $$ = NIL; }
|
||||||
;
|
;
|
||||||
|
|
||||||
/*****************************************************************************
|
|
||||||
*
|
|
||||||
* QUERY:
|
|
||||||
* execute recipe <recipeName>
|
|
||||||
*
|
|
||||||
*****************************************************************************/
|
|
||||||
|
|
||||||
/* NOT USED
|
|
||||||
RecipeStmt: EXECUTE RECIPE recipe_name
|
|
||||||
{
|
|
||||||
RecipeStmt *n = makeNode(RecipeStmt);
|
|
||||||
n->recipeName = $3;
|
|
||||||
$$ = (Node *)n;
|
|
||||||
}
|
|
||||||
;
|
|
||||||
*/
|
|
||||||
|
|
||||||
/*****************************************************************************
|
/*****************************************************************************
|
||||||
*
|
*
|
||||||
* QUERY:
|
* QUERY:
|
||||||
|
@ -8,7 +8,7 @@
|
|||||||
*
|
*
|
||||||
*
|
*
|
||||||
* IDENTIFICATION
|
* IDENTIFICATION
|
||||||
* $Header: /cvsroot/pgsql/src/backend/tcop/postgres.c,v 1.275 2002/07/30 05:35:53 momjian Exp $
|
* $Header: /cvsroot/pgsql/src/backend/tcop/postgres.c,v 1.276 2002/07/30 16:55:45 momjian Exp $
|
||||||
*
|
*
|
||||||
* NOTES
|
* NOTES
|
||||||
* this is the "main" module of the postgres backend and
|
* this is the "main" module of the postgres backend and
|
||||||
@ -1693,7 +1693,7 @@ PostgresMain(int argc, char *argv[], const char *username)
|
|||||||
if (!IsUnderPostmaster)
|
if (!IsUnderPostmaster)
|
||||||
{
|
{
|
||||||
puts("\nPOSTGRES backend interactive interface ");
|
puts("\nPOSTGRES backend interactive interface ");
|
||||||
puts("$Revision: 1.275 $ $Date: 2002/07/30 05:35:53 $\n");
|
puts("$Revision: 1.276 $ $Date: 2002/07/30 16:55:45 $\n");
|
||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
@ -2352,12 +2352,6 @@ CreateCommandTag(Node *parsetree)
|
|||||||
tag = "EXPLAIN";
|
tag = "EXPLAIN";
|
||||||
break;
|
break;
|
||||||
|
|
||||||
#ifdef NOT_USED
|
|
||||||
case T_RecipeStmt:
|
|
||||||
tag = "EXECUTE RECIPE";
|
|
||||||
break;
|
|
||||||
#endif
|
|
||||||
|
|
||||||
case T_VariableSetStmt:
|
case T_VariableSetStmt:
|
||||||
tag = "SET";
|
tag = "SET";
|
||||||
break;
|
break;
|
||||||
|
@ -10,7 +10,7 @@
|
|||||||
*
|
*
|
||||||
*
|
*
|
||||||
* IDENTIFICATION
|
* IDENTIFICATION
|
||||||
* $Header: /cvsroot/pgsql/src/backend/tcop/utility.c,v 1.166 2002/07/29 22:14:11 tgl Exp $
|
* $Header: /cvsroot/pgsql/src/backend/tcop/utility.c,v 1.167 2002/07/30 16:55:45 momjian Exp $
|
||||||
*
|
*
|
||||||
*-------------------------------------------------------------------------
|
*-------------------------------------------------------------------------
|
||||||
*/
|
*/
|
||||||
@ -674,17 +674,6 @@ ProcessUtility(Node *parsetree,
|
|||||||
ExplainQuery((ExplainStmt *) parsetree, dest);
|
ExplainQuery((ExplainStmt *) parsetree, dest);
|
||||||
break;
|
break;
|
||||||
|
|
||||||
#ifdef NOT_USED
|
|
||||||
|
|
||||||
case T_RecipeStmt:
|
|
||||||
{
|
|
||||||
RecipeStmt *stmt = (RecipeStmt *) parsetree;
|
|
||||||
|
|
||||||
beginRecipe(stmt);
|
|
||||||
}
|
|
||||||
break;
|
|
||||||
#endif
|
|
||||||
|
|
||||||
case T_VariableSetStmt:
|
case T_VariableSetStmt:
|
||||||
{
|
{
|
||||||
VariableSetStmt *n = (VariableSetStmt *) parsetree;
|
VariableSetStmt *n = (VariableSetStmt *) parsetree;
|
||||||
|
@ -7,7 +7,7 @@
|
|||||||
* Portions Copyright (c) 1996-2002, PostgreSQL Global Development Group
|
* Portions Copyright (c) 1996-2002, PostgreSQL Global Development Group
|
||||||
* Portions Copyright (c) 1994, Regents of the University of California
|
* Portions Copyright (c) 1994, Regents of the University of California
|
||||||
*
|
*
|
||||||
* $Id: parsenodes.h,v 1.195 2002/07/29 22:14:11 tgl Exp $
|
* $Id: parsenodes.h,v 1.196 2002/07/30 16:55:45 momjian Exp $
|
||||||
*
|
*
|
||||||
*-------------------------------------------------------------------------
|
*-------------------------------------------------------------------------
|
||||||
*/
|
*/
|
||||||
@ -1226,16 +1226,6 @@ typedef struct CommentStmt
|
|||||||
char *comment; /* Comment to insert, or NULL to remove */
|
char *comment; /* Comment to insert, or NULL to remove */
|
||||||
} CommentStmt;
|
} CommentStmt;
|
||||||
|
|
||||||
/* ----------------------
|
|
||||||
* Begin Recipe Statement
|
|
||||||
* ----------------------
|
|
||||||
*/
|
|
||||||
typedef struct RecipeStmt
|
|
||||||
{
|
|
||||||
NodeTag type;
|
|
||||||
char *recipeName; /* name of the recipe */
|
|
||||||
} RecipeStmt;
|
|
||||||
|
|
||||||
/* ----------------------
|
/* ----------------------
|
||||||
* Fetch Statement
|
* Fetch Statement
|
||||||
* ----------------------
|
* ----------------------
|
||||||
|
Reference in New Issue
Block a user