diff options
author | Tom Lane <tgl@sss.pgh.pa.us> | 2000-12-06 23:55:19 +0000 |
---|---|---|
committer | Tom Lane <tgl@sss.pgh.pa.us> | 2000-12-06 23:55:19 +0000 |
commit | 73d2a3595a3d14e64cb4dbcc09e90308a486e79f (patch) | |
tree | a0fd394b68e558c62dbf69bec6706651f98663ec /src/backend/parser | |
parent | db0de2241dba1663aaa2fe11018b8d7885d116bf (diff) | |
download | postgresql-73d2a3595a3d14e64cb4dbcc09e90308a486e79f.tar.gz postgresql-73d2a3595a3d14e64cb4dbcc09e90308a486e79f.zip |
Clean up handling of FOR UPDATE inside views and subselects ... make it
work where we can (given that the executor only handles it at top level)
and generate an error where we can't. Note that while the parser has
been allowing views to say SELECT FOR UPDATE for a few weeks now, that
hasn't actually worked until just now.
Diffstat (limited to 'src/backend/parser')
-rw-r--r-- | src/backend/parser/analyze.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/src/backend/parser/analyze.c b/src/backend/parser/analyze.c index e4834158765..2c33dba0ec5 100644 --- a/src/backend/parser/analyze.c +++ b/src/backend/parser/analyze.c @@ -6,7 +6,7 @@ * Portions Copyright (c) 1996-2000, PostgreSQL, Inc * Portions Copyright (c) 1994, Regents of the University of California * - * $Id: analyze.c,v 1.170 2000/12/05 19:57:55 tgl Exp $ + * $Id: analyze.c,v 1.171 2000/12/06 23:55:19 tgl Exp $ * *------------------------------------------------------------------------- */ @@ -37,8 +37,6 @@ #include "mb/pg_wchar.h" #endif -void CheckSelectForUpdate(Query *qry); /* no points for style... */ - static Query *transformStmt(ParseState *pstate, Node *stmt); static Query *transformDeleteStmt(ParseState *pstate, DeleteStmt *stmt); static Query *transformInsertStmt(ParseState *pstate, InsertStmt *stmt); |