CVSROOT: /cvsroot
Module name: pgsql-server
Changes by: momjian@postgresql.org 03/02/13 00:10:39
Modified files:
src/backend/utils/adt: ruleutils.c
Log message:
This patch makes pg_get_constraintdef support UNIQUE, PRIMARY KEY and
CHECK constraints.
There are apparently no other types of constraint in pg_constraint, so
now all bases are covered. Also, this patch assumes that consrc for a
CHECK constraint is always bracketed so that it's not necessary to add
extra brackets.
Christopher Kings-Lynne