mirror of
https://github.com/postgres/postgres.git
synced 2025-11-09 06:21:09 +03:00
Use schema search path to find the first matching contraint name for SET
CONSTRAINT, rather than affecting all constraints in all schemas (which is what we used to do). Also allow schema specifications. Kris Jurka
This commit is contained in:
@@ -11,7 +11,7 @@
|
||||
*
|
||||
*
|
||||
* IDENTIFICATION
|
||||
* $PostgreSQL: pgsql/src/backend/parser/gram.y,v 2.542 2006/04/25 14:11:55 momjian Exp $
|
||||
* $PostgreSQL: pgsql/src/backend/parser/gram.y,v 2.543 2006/04/27 00:33:45 momjian Exp $
|
||||
*
|
||||
* HISTORY
|
||||
* AUTHOR DATE MAJOR EVENT
|
||||
@@ -1283,7 +1283,7 @@ ConstraintsSetStmt:
|
||||
|
||||
constraints_set_list:
|
||||
ALL { $$ = NIL; }
|
||||
| name_list { $$ = $1; }
|
||||
| qualified_name_list { $$ = $1; }
|
||||
;
|
||||
|
||||
constraints_set_mode:
|
||||
|
||||
Reference in New Issue
Block a user