Re: Possible SET SESSION AUTHORIZATION bug

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: Possible SET SESSION AUTHORIZATION bug
Дата
Msg-id 3467.1087835104@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: Possible SET SESSION AUTHORIZATION bug  ("Chris Ochs" <chris@paymentonline.com>)
Список pgsql-general
"Chris Ochs" <chris@paymentonline.com> writes:
> Ok this probably isn't a bug but a side affect of how functions are cached.
> Changing the function to use EXECUTE to perform the query works.  I don't
> know if this particular scenario was ever even though of before, or if in
> the future it would make sense to have the query planner not cache the
> session user/current user?

It doesn't cache that.  I'm not sure what's going on here ... could you
provide a self-contained test script?

            regards, tom lane

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

Предыдущее
От: Richard Huxton
Дата:
Сообщение: Re: New to the list; would this be an okay question?
Следующее
От: Vams
Дата:
Сообщение: Re: plpgsql - Inserting DEFAULT Value.