Re: Question on "current_user"

Поиск
Список
Период
Сортировка
От Peter Eisentraut
Тема Re: Question on "current_user"
Дата
Msg-id Pine.LNX.4.44.0310121440120.27310-100000@peter.localdomain
обсуждение исходный текст
Ответ на Question on "current_user"  (Michael Brusser <michael@synchronicity.com>)
Список pgsql-hackers
Michael Brusser writes:

> Is there something special about function current_user?

Yes.

> In v.7.3.4 it only works when I do "select current_user;"
> and breaks when called with the empty arg. list:

That is the special thing.  It's bizarre, but that's how SQL wants it.
I've wanted to extend it so that you can call it both ways, but didn't get
enough support for it.

-- 
Peter Eisentraut   peter_e@gmx.net



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

Предыдущее
От: Gaetano Mendola
Дата:
Сообщение: Re: rt_sigprocmask
Следующее
От: Peter Eisentraut
Дата:
Сообщение: http://www.pgsql.com/register/submit.php