Re: Enforcing Join condition

Поиск
Список
Период
Сортировка
От சிவகுமார் மா
Тема Re: Enforcing Join condition
Дата
Msg-id 139e14f00711150619i7ab7d31bkd8d7c9d6eacb45cb@mail.gmail.com
обсуждение исходный текст
Ответ на Re: Enforcing Join condition  ("Albe Laurenz" <laurenz.albe@wien.gv.at>)
Ответы Re: Enforcing Join condition
Список pgsql-general
On Nov 15, 2007 7:32 PM, Albe Laurenz <laurenz.albe@wien.gv.at> wrote:
>
> You want to have a "conditional" foreign key reference that checks
> against different tables depending on a "type" field, right?
>
> For complicated conditions like this, you could use a
> BEFORE INSERT trigger that throws an error when the condition
> is violated.

That we do. My query is to put a check on select queries to avoid
programmers not using all the necessary conditions.

Thanks and regards,
Ma Sivakumar


--
மா சிவகுமார்
எல்லோரும் எல்லாமும் பெற வேண்டும்
http://masivakumar.blogspot.com

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

Предыдущее
От: "Abraham, Danny"
Дата:
Сообщение: Re: Chunk Delete
Следующее
От: "Albe Laurenz"
Дата:
Сообщение: Re: Enforcing Join condition