File tree Expand file tree Collapse file tree 1 file changed +3
-1
lines changed Expand file tree Collapse file tree 1 file changed +3
-1
lines changed Original file line number Diff line number Diff line change 10
10
*
11
11
*
12
12
* IDENTIFICATION
13
- * $Header: /cvsroot/pgsql/src/backend/parser/gram.y,v 2.45 1999/01/18 06:46:32 momjian Exp $
13
+ * $Header: /cvsroot/pgsql/src/backend/parser/gram.y,v 2.46 1999/01/20 19:48:13 momjian Exp $
14
14
*
15
15
* HISTORY
16
16
* AUTHOR DATE MAJOR EVENT
@@ -2803,6 +2803,8 @@ SelectStmt: select_w_o_sort sort_clause for_update_clause
2803
2803
2804
2804
if (n->unionClause != NULL)
2805
2805
elog(ERROR, "SELECT FOR UPDATE is not allowed with UNION clause");
2806
+ if (n->intersectClause != NULL)
2807
+ elog(ERROR, "SELECT FOR UPDATE is not allowed with INTERSECT/EXCEPT clause");
2806
2808
if (n->unique != NULL)
2807
2809
elog(ERROR, "SELECT FOR UPDATE is not allowed with DISTINCT clause");
2808
2810
if (n->groupClause != NULL)
You can’t perform that action at this time.
0 commit comments