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/include/parser/analyze.h | |
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/include/parser/analyze.h')
-rw-r--r-- | src/include/parser/analyze.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/include/parser/analyze.h b/src/include/parser/analyze.h index 9d60e0f64c8..baf5b570529 100644 --- a/src/include/parser/analyze.h +++ b/src/include/parser/analyze.h @@ -6,7 +6,7 @@ * Portions Copyright (c) 1996-2000, PostgreSQL, Inc * Portions Copyright (c) 1994, Regents of the University of California * - * $Id: analyze.h,v 1.12 2000/10/07 00:58:21 tgl Exp $ + * $Id: analyze.h,v 1.13 2000/12/06 23:55:18 tgl Exp $ * *------------------------------------------------------------------------- */ @@ -17,4 +17,6 @@ extern List *parse_analyze(Node *parseTree, ParseState *parentParseState); +extern void CheckSelectForUpdate(Query *qry); + #endif /* ANALYZE_H */ |