Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit2a60812

Browse files
committed
Add Intersect check.
1 parent1ace93c commit2a60812

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

‎src/backend/parser/gram.y‎

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
*
1111
*
1212
* 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 $
1414
*
1515
* HISTORY
1616
* AUTHORDATEMAJOR EVENT
@@ -2803,6 +2803,8 @@ SelectStmt: select_w_o_sort sort_clause for_update_clause
28032803

28042804
if (n->unionClause != NULL)
28052805
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");
28062808
if (n->unique != NULL)
28072809
elog(ERROR, "SELECT FOR UPDATE is not allowed with DISTINCT clause");
28082810
if (n->groupClause != NULL)

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp