Question on "current_user"

Поиск
Список
Период
Сортировка
От Michael Brusser
Тема Question on "current_user"
Дата
Msg-id DEEIJKLFNJGBEMBLBAHCIEHEDMAA.michael@synchronicity.com
обсуждение исходный текст
Ответ на Re: Hacking PostgreSQL to work in Mac OS X 10.3 (Panther 7B85)  (Marko Karppinen <marko@karppinen.fi>)
Ответы Re: Question on "current_user"  (Peter Eisentraut <peter_e@gmx.net>)
Список pgsql-hackers
Is there something special about function current_user?
In v.7.3.4 it only works when I do "select current_user;"
and breaks when called with the empty arg. list:
 syncdb=# select current_user(); ERROR:  parser: parse error at or near "(" at character 20

This behavior is just the opposite to that of some other functions 
that take no arguments (e.g. version, timeofday)

Mike.



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

Предыдущее
От: ivan
Дата:
Сообщение: question about CURSOR
Следующее
От: Gaetano Mendola
Дата:
Сообщение: Re: rt_sigprocmask