Re: - Mailing list pgsql-general

From Holger Krug
Subject Re:
Date
Msg-id 20020117203747.A7417@dev12.rationalizer.com
Whole thread Raw
In response to  ("M.L.Bowman" <M.L.Bowman@ukc.ac.uk>)
List pgsql-general
On Thu, Jan 17, 2002 at 06:59:18PM +0000, M.L.Bowman wrote:
>   In Ingres I can check if the ingres superuser is the current userby using
>
>       WHERE dbmsinfo('username') = dbmsinfo('dba')
>
>   I can't find out how to do the equivalent in postgres. Can anyone help?

        WHERE current_user=pg_get_userbyid(1)


>         EXECUTE PROCEDURE f_one();
         PERFORM  f_one();

Good luck !

--
Holger Krug
hkrug@rationalizer.com

pgsql-general by date:

Previous
From: Emmanuel SARACCO
Date:
Subject: Re: installing pl/pgsql
Next
From: Frank Bax
Date:
Subject: Re: