summaryrefslogtreecommitdiff
path: root/src/include/parser/parsetree.h
diff options
context:
space:
mode:
authorTom Lane2006-04-30 18:30:40 +0000
committerTom Lane2006-04-30 18:30:40 +0000
commit986085a7f08c72219abf47f8b968213e81ab943c (patch)
treea80d30e59cffd042ed9adb024afc5f5d6bf00e16 /src/include/parser/parsetree.h
parent931bfc96644b8f51a49161f780d43506e55d2b13 (diff)
Improve the representation of FOR UPDATE/FOR SHARE so that we can
support both FOR UPDATE and FOR SHARE in one command, as well as both NOWAIT and normal WAIT behavior. The more general code is actually simpler and cleaner.
Diffstat (limited to 'src/include/parser/parsetree.h')
-rw-r--r--src/include/parser/parsetree.h9
1 files changed, 8 insertions, 1 deletions
diff --git a/src/include/parser/parsetree.h b/src/include/parser/parsetree.h
index 5cd5002109f..d9b65aec8c8 100644
--- a/src/include/parser/parsetree.h
+++ b/src/include/parser/parsetree.h
@@ -8,7 +8,7 @@
* Portions Copyright (c) 1996-2006, PostgreSQL Global Development Group
* Portions Copyright (c) 1994, Regents of the University of California
*
- * $PostgreSQL: pgsql/src/include/parser/parsetree.h,v 1.32 2006/03/05 15:58:58 momjian Exp $
+ * $PostgreSQL: pgsql/src/include/parser/parsetree.h,v 1.33 2006/04/30 18:30:40 tgl Exp $
*
*-------------------------------------------------------------------------
*/
@@ -70,4 +70,11 @@ extern bool get_rte_attribute_is_dropped(RangeTblEntry *rte,
extern TargetEntry *get_tle_by_resno(List *tlist, AttrNumber resno);
+/* ----------------
+ * FOR UPDATE/SHARE info
+ * ----------------
+ */
+
+extern RowMarkClause *get_rowmark(Query *qry, Index rtindex);
+
#endif /* PARSETREE_H */