Re: creation of foreign key without checking prior data?

Поиск
Список
Период
Сортировка
От hubert depesz lubaczewski
Тема Re: creation of foreign key without checking prior data?
Дата
Msg-id 20090917183420.GA16505@depesz.com
обсуждение исходный текст
Ответ на Re: creation of foreign key without checking prior data?  (Peter Hunsberger <peter.hunsberger@gmail.com>)
Ответы Re: creation of foreign key without checking prior data?  (Sam Mason <sam@samason.me.uk>)
Список pgsql-general
On Thu, Sep 17, 2009 at 01:22:52PM -0500, Peter Hunsberger wrote:
> You can't have a foreign key that doesn't have relational integrity,
> it is no longer a foreign key.  If you don't want the delay then don't
> define the key, at least until some point at which you can take the
> delay.  If there is never such a time then your operational scenario
> needs changing, not Postgres...

you do realize that having foreign key defined doesn't guarantee
integrity?

depesz

--
Linkedin: http://www.linkedin.com/in/depesz  /  blog: http://www.depesz.com/
jid/gtalk: depesz@depesz.com / aim:depeszhdl / skype:depesz_hdl / gg:6749007

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

Предыдущее
От: Alban Hertroys
Дата:
Сообщение: Row estimates on empty table
Следующее
От: Richard Huxton
Дата:
Сообщение: Re: 'Weird' errors