check constraint

Поиск
Список
Период
Сортировка
От erwan ancel
Тема check constraint
Дата
Msg-id 1054543920.5523.8.camel@brisedorient
обсуждение исходный текст
Ответы Re: check constraint  (Bruno Wolff III <bruno@wolff.to>)
Список pgsql-general
Hi,
I would like to know if it is possible to set "complex" constraints on
databases such as:

A->B means that in table A, each record references a record of table B
(or NULL)

so we have:

A->B
C->B
D->C
D->A
constraint: for one record of D, D->A->B = D->C->B

    Hope it is clear enough.

    Erwan



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

Предыдущее
От: "Nigel J. Andrews"
Дата:
Сообщение: PostgreSQL presentation in France
Следующее
От: Csaba Nagy
Дата:
Сообщение: Re: implicit abort harmful?