diff options
author | Bruce Momjian <bruce@momjian.us> | 2003-01-08 22:54:36 +0000 |
---|---|---|
committer | Bruce Momjian <bruce@momjian.us> | 2003-01-08 22:54:36 +0000 |
commit | fdb1c80747705bbb98027ff5f64bd5a89ee40874 (patch) | |
tree | 0cd94c358594f1f35e0ae1cc461ac6dad6913ffa /src/backend/utils/adt/regexp.c | |
parent | a899179c8cdbd74c4a3a1b9e2712b92321182f0d (diff) | |
download | postgresql-fdb1c80747705bbb98027ff5f64bd5a89ee40874.tar.gz postgresql-fdb1c80747705bbb98027ff5f64bd5a89ee40874.zip |
Fix dumping of DEFERRABLE/INITIALLY DEFERRED:
> The big problem is that while pg_dump's dump_trigger() looks at
> tginitdeferred and dumps accordingly, pg_get_constraintdef doesn't look
> at tginitdeferred, and therefore doesn't record the requirement as part
> of ALTER TABLE ADD CONSTRAINT.
pg_get_constraintdef should probably be looking at condeferrable and
condeferred in the pg_constraint row it's looking at. Maybe something
like the attached.
(Added, output only non-default values.)
Stephan Szabo
Diffstat (limited to 'src/backend/utils/adt/regexp.c')
0 files changed, 0 insertions, 0 deletions