Re: Is current_user a function ?

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Masaru Sugawara <rk73(at)sea(dot)plala(dot)or(dot)jp>
Cc: pgsql-hackers(at)postgresql(dot)org
Subject: Re: Is current_user a function ?
Date: 2002-11-28 22:20:59
Message-ID: 16577.1038522059@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Masaru Sugawara <rk73(at)sea(dot)plala(dot)or(dot)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

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Tom Lane 2002-11-28 22:54:21 Re: nested transactions
Previous Message Neil Conway 2002-11-28 21:08:54 Re: record object type