Re: Is current_user a function ? - Mailing list pgsql-hackers

From Tom Lane
Subject Re: Is current_user a function ?
Date
Msg-id 16577.1038522059@sss.pgh.pa.us
Whole thread Raw
In response to Is current_user a function ?  (Masaru Sugawara <rk73@sea.plala.or.jp>)
List pgsql-hackers
Masaru Sugawara <rk73@sea.plala.or.jp> writes:
> As for some current_*** functions, "select current_user;" seems to
> work, but  "select current_user();" doesn't .

Complain to the SQL spec authors --- they mandated this peculiar keyword
syntax for what is really a function call.
        regards, tom lane


pgsql-hackers by date:

Previous
From: Hannu Krosing
Date:
Subject: Re: Hirarchical queries a la Oracle. Patch.
Next
From: Tom Lane
Date:
Subject: Re: nested transactions