diff options
author | Bruce Momjian <bruce@momjian.us> | 2003-01-08 22:54:06 +0000 |
---|---|---|
committer | Bruce Momjian <bruce@momjian.us> | 2003-01-08 22:54:06 +0000 |
commit | d31b20af693dfc3bc483d1e1680dbc5ce4348c18 (patch) | |
tree | 39f70f369af21224eb8ae515f3c0c7a2c97290d8 /src/backend/executor/execMain.c | |
parent | 5e36cbe6ee56f10ded66af59919c9a1cae6b0d80 (diff) | |
download | postgresql-d31b20af693dfc3bc483d1e1680dbc5ce4348c18.tar.gz postgresql-d31b20af693dfc3bc483d1e1680dbc5ce4348c18.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/executor/execMain.c')
0 files changed, 0 insertions, 0 deletions