Re: [GENERAL] predefined functions

2006-10-08 Thread Rafal Pietrak
On Sun, 2006-10-08 at 01:44 -0400, Tom Lane wrote: > Yeah: current_user (without the parens) is specified by the SQL > standard, but we're not about to adopt such a brain-dead syntax > for any of the functions defined by Postgres itself --- as you I see. One of "committee's work gems" :( And yet,

Re: [GENERAL] predefined functions

2006-10-07 Thread Tom Lane
Rafal Pietrak <[EMAIL PROTECTED]> writes: > Is there a reason why both: > SELECT current_user; > SELECT current_database(); > are correct, while neither of: > SELECT current_user(); -- syntax at '(' > SELECT current_database; -- missing column > is? Yeah: current_user (wit