Re: pg_restore and create FK without verification check

Поиск
Список
Период
Сортировка
От Stephan Szabo
Тема Re: pg_restore and create FK without verification check
Дата
Msg-id 20031126112529.E61947@megazone.bigpanda.com
обсуждение исходный текст
Ответ на Re: pg_restore and create FK without verification check  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-hackers
On Wed, 26 Nov 2003, Tom Lane wrote:

> Quite honestly, I think they should check their foreign keys.  In a
> partial restore situation there is no guarantee that the referenced
> table and the referencing table are being restored at the same time from
> the same dump.  An override in that situation looks like a great tool
> for shooting yourself in the foot.
>
> People might be more interested in debating this topic with you if we
> hadn't discussed it at length just a couple months back.  There wasn't
> consensus then that we had to offer an escape hatch, and you've not
> offered any argument that wasn't made before.

I actually thought the majority in the past discussion thought that an
escape hatch was a good idea, but that the discussion broke down in trying
to determine what sort of hatch that might be (iirc, it got off into the
general discussion of disabling constraints for normal operation as
opposed to at alter time).


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

Предыдущее
От: Rod Taylor
Дата:
Сообщение: Re: 4 Clause license?
Следующее
От: "Joshua D. Drake"
Дата:
Сообщение: Limiting factors of pg_largeobject