Delete rules and functions

Поиск
Список
Период
Сортировка
От Wiebe Cazemier
Тема Delete rules and functions
Дата
Msg-id f5rpk6$r8n$1@sea.gmane.org
обсуждение исходный текст
Ответы Re: Delete rules and functions  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-sql
Hi,

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.

Is that a bug? Or is the query rewriting not possible from inside functions?



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

Предыдущее
От: Chris Browne
Дата:
Сообщение: Re: Vacation days
Следующее
От: "news.gmane.org"
Дата:
Сообщение: Re: Where clause