Re: deferrable foreign keys

Поиск
Список
Период
Сортировка
От Morus Walter
Тема Re: deferrable foreign keys
Дата
Msg-id 20091203085555.6d32151b@tucholsky.experteer.de
обсуждение исходный текст
Ответ на Re: deferrable foreign keys  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-general
Hallo Tom,

> Morus Walter <morus.walter.ml@googlemail.com> writes:
> > are there downsides of making foreign keys deferrable (but initially
> > immediate) for updates, when the transaction does not set the
> > constraint behaviour to deferred?
>
> > I'd expect that to have the same behaviour as non deferrable foreign
> > keys.
> > What I don't understand is, why is non deferrable the default, then.
>
> Because the SQL standard says so.

Ok. Understood.

> I don't believe there is any actual
> penalty for deferrable within the PG implementation, but perhaps there
> is in other systems' implementations.
>

Thanks a lot for your help.

Morus


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

Предыдущее
От: "A. Kretschmer"
Дата:
Сообщение: Re: How to auto-increment?
Следующее
От: Kern Sibbald
Дата:
Сообщение: Re: Catastrophic changes to PostgreSQL 8.4