| От | Tom Lane |
|---|---|
| Тема | Re: Delete rules and functions |
| Дата | |
| Msg-id | 28442.1182891012@sss.pgh.pa.us обсуждение исходный текст |
| Ответ на | Delete rules and functions (Wiebe Cazemier <halfgaar@gmx.net>) |
| Список | pgsql-sql |
Wiebe Cazemier <halfgaar@gmx.net> writes:
> I have the following scenerio:
> a rule on a view which executes a function by means of a select call, which in
> turn deletes from a table which has on-delete rules on it. When the function
> is called from the rule, the subsequent delete call in the function doesn't
> cause the on-delete rules on the table to be taken into account.
Please provide an example, because the rewriter is most certainly
applied to queries from functions.
I suspect you are actually being burnt by some other effect, like a row
disappearing from the view as soon as its underlying data is deleted.
regards, tom lane
В списке pgsql-sql по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера