diff options
Diffstat (limited to 'src/include/parser')
-rw-r--r-- | src/include/parser/analyze.h | 4 | ||||
-rw-r--r-- | src/include/parser/parse_node.h | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/src/include/parser/analyze.h b/src/include/parser/analyze.h index bec10e8bb09..73cbb2fc797 100644 --- a/src/include/parser/analyze.h +++ b/src/include/parser/analyze.h @@ -6,7 +6,7 @@ * Portions Copyright (c) 1996-2005, PostgreSQL Global Development Group * Portions Copyright (c) 1994, Regents of the University of California * - * $PostgreSQL: pgsql/src/include/parser/analyze.h,v 1.29 2004/12/31 22:03:38 pgsql Exp $ + * $PostgreSQL: pgsql/src/include/parser/analyze.h,v 1.30 2005/04/28 21:47:18 tgl Exp $ * *------------------------------------------------------------------------- */ @@ -21,6 +21,6 @@ extern List *parse_analyze_varparams(Node *parseTree, Oid **paramTypes, int *numParams); extern List *parse_sub_analyze(Node *parseTree, ParseState *parentParseState); extern List *analyzeCreateSchemaStmt(CreateSchemaStmt *stmt); -extern void CheckSelectForUpdate(Query *qry); +extern void CheckSelectLocking(Query *qry, bool forUpdate); #endif /* ANALYZE_H */ diff --git a/src/include/parser/parse_node.h b/src/include/parser/parse_node.h index 3999918f248..bfcf00fd47d 100644 --- a/src/include/parser/parse_node.h +++ b/src/include/parser/parse_node.h @@ -7,7 +7,7 @@ * Portions Copyright (c) 1996-2005, PostgreSQL Global Development Group * Portions Copyright (c) 1994, Regents of the University of California * - * $PostgreSQL: pgsql/src/include/parser/parse_node.h,v 1.42 2004/12/31 22:03:38 pgsql Exp $ + * $PostgreSQL: pgsql/src/include/parser/parse_node.h,v 1.43 2005/04/28 21:47:18 tgl Exp $ * *------------------------------------------------------------------------- */ @@ -53,7 +53,7 @@ typedef struct ParseState Oid *p_paramtypes; /* OIDs of types for $n parameter symbols */ int p_numparams; /* allocated size of p_paramtypes[] */ int p_next_resno; /* next targetlist resno to assign */ - List *p_forUpdate; /* FOR UPDATE clause, if any (see gram.y) */ + List *p_lockedRels; /* FOR UPDATE/SHARE, if any (see gram.y) */ Node *p_value_substitute; /* what to replace VALUE with, if * any */ bool p_variableparams; |