Use schema search path to find the first matching contraint name for SET
Bruce Momjian <bruce@momjian.us>
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
Files
| Path | Change | +/− |
|---|---|---|
| doc/src/sgml/ref/set_constraints.sgml | modified | +5 −12 |
| src/backend/commands/trigger.c | modified | +114 −44 |
| src/backend/parser/gram.y | modified | +2 −2 |
| src/include/nodes/parsenodes.h | modified | +2 −2 |