Re: [GENERAL] Table Updatable By Trigger Only

Поиск
Список
Период
Сортировка
От Osahon Oduware
Тема Re: [GENERAL] Table Updatable By Trigger Only
Дата
Msg-id CAGpiUSjq8Xb4chr7c_3jnVqy-8Lfoybbyx18C5VGM5PiqAk25w@mail.gmail.com
обсуждение исходный текст
Ответ на Re: [GENERAL] Table Updatable By Trigger Only  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-general
Hi Tom,

Ok, thanks.

On Tue, Jun 20, 2017 at 3:21 PM, Tom Lane <tgl@sss.pgh.pa.us> wrote:
Osahon Oduware <osahon.gis@gmail.com> writes:
> The pg_trigger_depth() function solved the issue. Thanks a lot, you made my
> day.

If you start finding that that gets in your way for other purposes, you
might try making table A's trigger function be SECURITY DEFINER and
owned by a role that has permissions to change table B.

                        regards, tom lane

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

Предыдущее
От: Steve Clark
Дата:
Сообщение: Re: [GENERAL] Schedule
Следующее
От: Melvin Davidson
Дата:
Сообщение: Re: [GENERAL] Schedule