From: | momjian(at)postgresql(dot)org (Bruce Momjian - CVS) |
---|---|
To: | pgsql-committers(at)postgresql(dot)org |
Subject: | pgsql-server/src/backend/utils/adt ruleutils.c |
Date: | 2003-01-08 22:54:07 |
Message-ID: | 20030108225407.C8B9C475C45@postgresql.org |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-committers |
CVSROOT: /cvsroot
Module name: pgsql-server
Changes by: momjian(at)postgresql(dot)org 03/01/08 17:54:07
Modified files:
src/backend/utils/adt: ruleutils.c
Log message:
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
From | Date | Subject | |
---|---|---|---|
Next Message | Bruce Momjian - CVS | 2003-01-08 22:54:36 | pgsql-server/src/backend/utils/adt Tag: REL7_3 ... |
Previous Message | Bruce Momjian - CVS | 2003-01-08 22:29:23 | pgsql-server/src/backend/commands trigger.c |