OSDN Git Service

Fix pg_get_constraintdef() to ensure CHECK constraints are always shown
authorTom Lane <tgl@sss.pgh.pa.us>
Sat, 4 Oct 2003 18:22:59 +0000 (18:22 +0000)
committerTom Lane <tgl@sss.pgh.pa.us>
Sat, 4 Oct 2003 18:22:59 +0000 (18:22 +0000)
commitb833c3d4a468975bfea1abc11feee1ca47de84b1
tree176ef9da12832de572cb8fb14f13c6177c42eb39
parentec1fbbb5466e61b5f89b41738d858ebdaa312929
Fix pg_get_constraintdef() to ensure CHECK constraints are always shown
with required outer parentheses.  Breakage seems to be leftover from
domain-constraint patches.  This could be smarter about suppressing
extra parens, but at this stage of the release cycle I want certainty
not cuteness.
src/backend/utils/adt/ruleutils.c
src/backend/utils/cache/lsyscache.c
src/include/utils/lsyscache.h