Re: complex referential integrity constraints

Поиск
Список
Период
Сортировка
От Joris Dobbelsteen
Тема Re: complex referential integrity constraints
Дата
Msg-id 73427AD314CC364C8DF0FFF9C4D693FF5585@nehemiah.joris2k.local
обсуждение исходный текст
Ответ на complex referential integrity constraints  ("Robert Haas" <Robert.Haas@dyntek.com>)
Ответы Re: complex referential integrity constraints
Re: complex referential integrity constraints
Список pgsql-general
>-----Original Message-----
>From: pgsql-general-owner@postgresql.org
>[mailto:pgsql-general-owner@postgresql.org] On Behalf Of
>Martijn van Oosterhout
>Sent: donderdag 22 februari 2007 18:17
>To: Joris Dobbelsteen
>Cc: Robert Haas; pgsql-general@postgresql.org
>Subject: Re: [GENERAL] complex referential integrity constraints
>
>On Thu, Feb 22, 2007 at 05:28:35PM +0100, Joris Dobbelsteen wrote:
>> Even worse, I don't you can guarentee that this constraint
>is enforced
>> at all times. That means, not if you are using triggers.
>> The only option seems using foreign keys and put in a lot of
>redundant
>> data.
>
>Err, foreign keys are implemented using triggers, so this
>statement is self-contradictary.

Are you really sure they are executed under the same visibility rules?

- Joris

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

Предыдущее
От: "Chad Wagner"
Дата:
Сообщение: Re: postgresql vs mysql
Следующее
От: Tomas Simonaitis
Дата:
Сообщение: Moving WAL files