| От | Tom Lane |
|---|---|
| Тема | Re: Tables cannot have INSTEAD OF triggers |
| Дата | |
| Msg-id | 1464.1427910970@sss.pgh.pa.us обсуждение |
| Ответ на | Re: Tables cannot have INSTEAD OF triggers (Andres Freund <andres@anarazel.de>) |
| Ответы |
Re: Tables cannot have INSTEAD OF triggers
|
| Список | pgsql-hackers |
Andres Freund <andres@anarazel.de> writes:
> On 2015-04-01 13:29:33 -0400, Tom Lane wrote:
>> WHEN won't help; if there are any INSTEAD OF triggers, no insert will
>> happen, whether the triggers actually fire or not.
> Well, right now it doesn't work at all. It seems pretty reasonable to
> define things so that the insert happens normally if there's no matching
> INSTEAD OF trigger.
It would absolutely *not* be reasonable for WHEN conditions for triggers
on tables to work completely differently than they do for triggers on
views. That ship's sailed.
regards, tom lane
В списке pgsql-hackers по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера