From: | Philip Warner <pjw(at)rhyme(dot)com(dot)au> |
---|---|
To: | Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>, Joel Burton <jburton(at)scw(dot)org> |
Cc: | pgsql-hackers(at)postgresql(dot)org, JanWieck(at)Yahoo(dot)com |
Subject: | Re: [BUG?] tgconstrrelid doesn't survive a dump/restore |
Date: | 2001-04-19 02:29:15 |
Message-ID: | 3.0.5.32.20010419122915.02b38510@mail.rhyme.com.au |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-hackers |
At 16:30 18/04/01 -0400, Tom Lane wrote:
>
>IIRC, pg_dump is just failing to transfer the value; it needs to emit
>an additional clause in the CREATE CONSTRAINT command to do so.
>
From memory, this is one of the non-standard SQL things that pg_dump still
does (ie. definining the constraint using rule definitions). I'll see if I
can find a way of constructing the FK constraint properly, but don't hold
your breath.
----------------------------------------------------------------
Philip Warner | __---_____
Albatross Consulting Pty. Ltd. |----/ - \
(A.B.N. 75 008 659 498) | /(@) ______---_
Tel: (+61) 0500 83 82 81 | _________ \
Fax: (+61) 0500 83 82 82 | ___________ |
Http://www.rhyme.com.au | / \|
| --________--
PGP key available upon request, | /
and from pgp5.ai.mit.edu:11371 |/
From | Date | Subject | |
---|---|---|---|
Next Message | Philip Warner | 2001-04-19 02:30:55 | Re: Re: [BUG?] tgconstrrelid doesn't survive a dump/restore |
Previous Message | Tom Lane | 2001-04-19 02:02:06 | Re: [BUG] views and functions on relations |