Re: BUG #2372: dblink_exec doesn't return. NEVER!

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: BUG #2372: dblink_exec doesn't return. NEVER!
Дата
Msg-id 17081.1144100907@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: BUG #2372: dblink_exec doesn't return. NEVER!  ("William Leite Araújo" <william.bh@gmail.com>)
Ответы Re: BUG #2372: dblink_exec doesn't return. NEVER!  ("William Leite Araújo" <william.bh@gmail.com>)
Список pgsql-bugs
"William Leite Araújo" <william.bh@gmail.com> writes:
>      I need this to give a credit from canceled billets.
>      But anyone instead of roots can insert on this table.
>      If it's done by a function, only roots must run it. So, the trigger
> will fail because is runned a no "su"...

You need to read up on SECURITY DEFINER functions.
        regards, tom lane


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

Предыдущее
От: "William Leite Araújo"
Дата:
Сообщение: Re: BUG #2372: dblink_exec doesn't return. NEVER!
Следующее
От: "Anthony Ransley"
Дата:
Сообщение: BUG #2373: postgres.exe crashes