ALTER TABLE ... ALTER CONSTRAINT for FKs
authorSimon Riggs <simon@2ndQuadrant.com>
Mon, 24 Jun 2013 19:07:41 +0000 (20:07 +0100)
committerSimon Riggs <simon@2ndQuadrant.com>
Mon, 24 Jun 2013 19:07:41 +0000 (20:07 +0100)
commitb577a57d4113bcbd1a7900b78b3e41df528c9a35
tree9ce0abf8a6a9141bdba30459c7deb8979e62c4e7
parentce18b011596389cbff1589494411643f995b0421
ALTER TABLE ... ALTER CONSTRAINT for FKs

Allow constraint attributes to be altered,
so the default setting of NOT DEFERRABLE
can be altered to DEFERRABLE and back.

Review by Abhijit Menon-Sen
doc/src/sgml/ref/alter_table.sgml
src/backend/commands/tablecmds.c
src/backend/parser/gram.y
src/include/nodes/parsenodes.h
src/test/regress/expected/foreign_key.out
src/test/regress/sql/foreign_key.sql