Re: insert/update/delete returning and rules

Поиск
Список
Период
Сортировка
От Zeugswetter Andreas DCP SD
Тема Re: insert/update/delete returning and rules
Дата
Msg-id E1539E0ED7043848906A8FF995BDA579014DC05E@m0143.s-mxs.net
обсуждение исходный текст
Ответ на Re: insert/update/delete returning and rules  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-hackers
> With this approach, you still have to update your rules if
> you want to support RETURNING on your views --- but if you
> don't update them, you don't have a security hole.  Basically
> the standard setup for an updatable view would use
>     "ON INSERT DO INSTEAD INSERT INTO ... RETURNING ..."
> where today you don't write any RETURNING.

I like that approach. And if the sections allow CASE WHEN
it should be possible to cover all use cases efficiently.

Andreas


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

Предыдущее
От: Peter Eisentraut
Дата:
Сообщение: Re: [PATCHES] Documentation fix for --with-ldap
Следующее
От: Michael Glaesemann
Дата:
Сообщение: Re: [PATCHES] possible ecpg vpath build error