Question on "current_user" - Mailing list pgsql-hackers

From Michael Brusser
Subject Question on "current_user"
Date
Msg-id DEEIJKLFNJGBEMBLBAHCIEHEDMAA.michael@synchronicity.com
Whole thread Raw
In response to Re: Hacking PostgreSQL to work in Mac OS X 10.3 (Panther 7B85)  (Marko Karppinen <marko@karppinen.fi>)
Responses Re: Question on "current_user"  (Peter Eisentraut <peter_e@gmx.net>)
List 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 by date:

Previous
From: ivan
Date:
Subject: question about CURSOR
Next
From: Gaetano Mendola
Date:
Subject: Re: rt_sigprocmask