1
0
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:
Bruce Momjian
2006-04-27 00:33:46 +00:00
parent 944a17bf9f
commit 02eb8f4f5c
4 changed files with 132 additions and 69 deletions

View File

@@ -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: