From: | Stephan Szabo <sszabo(at)megazone23(dot)bigpanda(dot)com> |
---|---|
To: | Alex Zavalin <a-l-x(at)mail(dot)od(dot)ua> |
Cc: | <pgsql-general(at)postgresql(dot)org> |
Subject: | Re: db dump |
Date: | 2003-01-30 04:06:11 |
Message-ID: | 20030129200355.O20289-100000@megazone23.bigpanda.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-general |
On Thu, 30 Jan 2003, Alex Zavalin wrote:
> There's a function in postgresql 7.3.1 that decompiles internal
> foreign key constraint presentation and shows it in text format very
> similar to that in create table statement, but pg_dump still saves
> it as trigger. Are there plans to save it as in create table? Are
> there any drawbacks?
If you've created them in 7.3 (or done something to add the constraint
information to ones you've imported - I think someone made a script to do
this) you should get them as ALTER TABLE statements I'd thought. My dev
7.4 box returns them as ALTER TABLE in any case.
You're probably not going to get them in create table since there are
cases that'd fail for and it's probably more trouble than its worth to
make some in create and some as alter.
From | Date | Subject | |
---|---|---|---|
Next Message | Justin Clift | 2003-01-30 04:15:24 | Re: Unsubscribing |
Previous Message | S Hardy | 2003-01-30 04:02:16 | unsubscribe |