Re: DML Restriction unless through a function

Поиск
Список
Период
Сортировка
От Bruno Wolff III
Тема Re: DML Restriction unless through a function
Дата
Msg-id 20040630160948.GA15644@wolff.to
обсуждение исходный текст
Ответ на Re: DML Restriction unless through a function  (Bruno Wolff III <bruno@wolff.to>)
Список pgsql-general
On Wed, Jun 30, 2004 at 12:00:44 -0400,
  Tom Lane <tgl@sss.pgh.pa.us> wrote:
>
> That doesn't sound right to me at all.  A SECURITY DEFINER function is
> self contained --- if we ever failed to execute it as the owning user,
> that would be a bug, and I'd be pleased to see an example.
>
> I do recall that if you have a function that is *not* SECURITY DEFINER,
> and you use it in a view, it will be invoked as the current user, not as
> the view creator which is what some people expect.  It's fairly easy to
> get around this using SECURITY DEFINER, so it's unlikely that we'll
> change it ...

That is what I was probably thinking of.

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

Предыдущее
От: Richard Huxton
Дата:
Сообщение: Re: substring syntax with regexp
Следующее
От: Dennis Gearon
Дата:
Сообщение: backups