Re: Legacy foreign keys

Поиск
Список
Период
Сортировка
Искать
От
Tom Lane
Тема
Re: Legacy foreign keys
Дата
Msg-id
20427.1197324492@sss.pgh.pa.us
Ответ на
Re: Legacy foreign keys (Alvaro Herrera)
Список
Дерево обсуждения
Legacy foreign keys "Peter Koczan" <pjkoczan@gmail.com>
Re: Legacy foreign keys Alvaro Herrera <alvherre@alvh.no-ip.org>
Re: Legacy foreign keys Tom Lane <tgl@sss.pgh.pa.us>
Re: Legacy foreign keys "Peter Koczan" <pjkoczan@gmail.com>
Re: Legacy foreign keys Tom Lane <tgl@sss.pgh.pa.us>
Re: Legacy foreign keys "Peter Koczan" <pjkoczan@gmail.com>
Re: Legacy foreign keys "Peter Koczan" <pjkoczan@gmail.com>
Re: Legacy foreign keys Tom Lane <tgl@sss.pgh.pa.us>
Re: Legacy foreign keys "Peter Koczan" <pjkoczan@gmail.com>
Re: Legacy foreign keys "Peter Koczan" <pjkoczan@gmail.com>
Re: Legacy foreign keys Tom Lane <tgl@sss.pgh.pa.us>
Re: Legacy foreign keys "Peter Koczan" <pjkoczan@gmail.com>
Re: Legacy foreign keys Tom Lane <tgl@sss.pgh.pa.us>
Re: Legacy foreign keys "Peter Koczan" <pjkoczan@gmail.com>
Re: Legacy foreign keys Tom Lane <tgl@sss.pgh.pa.us>
Alvaro Herrera  writes:
> Peter Koczan escribi�:
>> I am having a problem with what appear to be legacy foreign keys in
>> some of my databases (probably pre-7.2 days). They won't restore from
>> 8.2 to 8.3, because the '' field in the called function isn't
>> unique when I try to restore more than one of these legacy keys

> 8.3's pg_dump contains smarts to dump these things as normal FKs.  Try
> it.

No, pg_dump isn't involved --- the new smarts are inside the server,
in CREATE CONSTRAINT TRIGGER.  It sounds like Peter has a case that is
confusing that new code.  Could we see a complete example?

			regards, tom lane
В списке pgsql-admin по дате отправления
От: Andrew Sullivan
Дата:
От: =?ISO-8859-1?Q?Elvis_Henr=EDquez?=
Дата:
Сообщение: Re: Case studies
FAQ