]> granicus.if.org Git - postgresql/commit
Modify pg_dump to dump foreign-key constraints as constraints, not as
authorTom Lane <tgl@sss.pgh.pa.us>
Fri, 16 Aug 2002 23:01:21 +0000 (23:01 +0000)
committerTom Lane <tgl@sss.pgh.pa.us>
Fri, 16 Aug 2002 23:01:21 +0000 (23:01 +0000)
commita208ea72bced456c4234644e4c9eda8969e8bdc9
tree31cc8db8e64e9cbfb7499abecfe40b364e70d6c0
parent8dabef838c464e8788190ec3fae28a6c9b6b692a
Modify pg_dump to dump foreign-key constraints as constraints, not as
sets of triggers.  Also modify psql \d command to show foreign key
constraints as such and hide the triggers.  pg_get_constraintdef()
function added to backend to support these.  From Rod Taylor, code
review and some editorialization by Tom Lane.
doc/src/sgml/func.sgml
src/backend/utils/adt/ruleutils.c
src/bin/pg_dump/pg_dump.c
src/bin/psql/describe.c
src/include/catalog/catversion.h
src/include/catalog/pg_proc.h
src/include/utils/builtins.h