Re: [BUG?] tgconstrrelid doesn't survive a dump/restore

Поиск
Список
Период
Сортировка
От Philip Warner
Тема Re: [BUG?] tgconstrrelid doesn't survive a dump/restore
Дата
Msg-id 3.0.5.32.20010419122915.02b38510@mail.rhyme.com.au
обсуждение исходный текст
Ответ на Re: [BUG?] tgconstrrelid doesn't survive a dump/restore  (Tom Lane <tgl@sss.pgh.pa.us>)
Список 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   |/


В списке pgsql-hackers по дате отправления:

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: [BUG] views and functions on relations
Следующее
От: Philip Warner
Дата:
Сообщение: Re: Re: [BUG?] tgconstrrelid doesn't survive a dump/restore