Index: src/backend/commands/_deadcode/recipe.h =================================================================== RCS file: src/backend/commands/_deadcode/recipe.h diff -N src/backend/commands/_deadcode/recipe.h *** src/backend/commands/_deadcode/recipe.h 20 Jun 2002 20:29:27 -0000 1.7 --- /dev/null 1 Jan 1970 00:00:00 -0000 *************** *** 1,20 **** - /*------------------------------------------------------------------------- - * - * recipe.h - * recipe handling routines - * - * Portions Copyright (c) 1996-2002, PostgreSQL Global Development Group - * Portions Copyright (c) 1994, Regents of the University of California - * - * $Id: recipe.h,v 1.7 2002/06/20 20:29:27 momjian Exp $ - * - *------------------------------------------------------------------------- - */ - #ifndef RECIPE_H - #define RECIPE_H - - #include "nodes/parsenodes.h" - - extern void beginRecipe(RecipeStmt *stmt); - - #endif /* RECIPE_H */ --- 0 ---- Index: src/backend/parser/gram.y =================================================================== RCS file: /var/lib/cvs/pgsql/src/backend/parser/gram.y,v retrieving revision 2.349 diff -c -r2.349 gram.y *** src/backend/parser/gram.y 24 Jul 2002 19:11:10 -0000 2.349 --- src/backend/parser/gram.y 26 Jul 2002 15:15:16 -0000 *************** *** 2864,2886 **** /***************************************************************************** * * QUERY: - * execute recipe - * - *****************************************************************************/ - - /* NOT USED - RecipeStmt: EXECUTE RECIPE recipe_name - { - RecipeStmt *n = makeNode(RecipeStmt); - n->recipeName = $3; - $$ = (Node *)n; - } - ; - */ - - /***************************************************************************** - * - * QUERY: * create [or replace] function * [( { , })] * returns --- 2864,2869 ---- Index: src/backend/tcop/postgres.c =================================================================== RCS file: /var/lib/cvs/pgsql/src/backend/tcop/postgres.c,v retrieving revision 1.272 diff -c -r1.272 postgres.c *** src/backend/tcop/postgres.c 18 Jul 2002 23:11:28 -0000 1.272 --- src/backend/tcop/postgres.c 26 Jul 2002 15:15:16 -0000 *************** *** 2352,2363 **** tag = "EXPLAIN"; break; - #ifdef NOT_USED - case T_RecipeStmt: - tag = "EXECUTE RECIPE"; - break; - #endif - case T_VariableSetStmt: tag = "SET"; break; --- 2352,2357 ---- Index: src/backend/tcop/utility.c =================================================================== RCS file: /var/lib/cvs/pgsql/src/backend/tcop/utility.c,v retrieving revision 1.165 diff -c -r1.165 utility.c *** src/backend/tcop/utility.c 25 Jul 2002 10:07:11 -0000 1.165 --- src/backend/tcop/utility.c 26 Jul 2002 15:15:16 -0000 *************** *** 674,690 **** ExplainQuery((ExplainStmt *) parsetree, dest); break; - #ifdef NOT_USED - - case T_RecipeStmt: - { - RecipeStmt *stmt = (RecipeStmt *) parsetree; - - beginRecipe(stmt); - } - break; - #endif - case T_VariableSetStmt: { VariableSetStmt *n = (VariableSetStmt *) parsetree; --- 674,679 ---- Index: src/include/nodes/parsenodes.h =================================================================== RCS file: /var/lib/cvs/pgsql/src/include/nodes/parsenodes.h,v retrieving revision 1.194 diff -c -r1.194 parsenodes.h *** src/include/nodes/parsenodes.h 24 Jul 2002 19:11:14 -0000 1.194 --- src/include/nodes/parsenodes.h 26 Jul 2002 15:15:16 -0000 *************** *** 1196,1211 **** } CommentStmt; /* ---------------------- - * Begin Recipe Statement - * ---------------------- - */ - typedef struct RecipeStmt - { - NodeTag type; - char *recipeName; /* name of the recipe */ - } RecipeStmt; - - /* ---------------------- * Fetch Statement * ---------------------- */ --- 1196,1201 ----