Question on "current_user"

From: Michael Brusser <michael(at)synchronicity(dot)com>
To: pgsql-hackers(at)postgresql(dot)org
Subject: Question on "current_user"
Date: 2003-10-12 11:05:48
Message-ID: DEEIJKLFNJGBEMBLBAHCIEHEDMAA.michael@synchronicity.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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.

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Michael Meskes 2003-10-12 11:54:32 Re: http://www.pgsql.com/register/submit.php
Previous Message ivan 2003-10-12 09:42:39 question about CURSOR