Re: [PATCH] SQL assertions prototype

Поиск
Список
Период
Сортировка
От Peter Eisentraut
Тема Re: [PATCH] SQL assertions prototype
Дата
Msg-id 52C9BC92.4020901@gmx.net
обсуждение исходный текст
Ответ на Re: [PATCH] SQL assertions prototype  (Andres Freund <andres@2ndquadrant.com>)
Список pgsql-hackers
On 12/18/13, 2:45 PM, Andres Freund wrote:
> Well, the patch's syntax seems to only allow to directly specify a SQL
> query to check - we could iterate over the querytree to gather all
> related tables and reject any function we do not understand.

Creating an assertion scans the query tree and attaches constraint
triggers to all tables covered by the assertion condition.  So it does
essentially work the way you say.





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

Предыдущее
От: Peter Eisentraut
Дата:
Сообщение: Re: [PATCH] SQL assertions prototype
Следующее
От: Peter Eisentraut
Дата:
Сообщение: Re: [PATCH] SQL assertions prototype