Skip site navigation (1) Skip section navigation (2)

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 (view raw or flat)
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

pgsql-hackers by date

Next:From: Tom LaneDate: 2002-11-28 22:54:21
Subject: Re: nested transactions
Previous:From: Neil ConwayDate: 2002-11-28 21:08:54
Subject: Re: record object type

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group