How to get current user - Mailing list pgsql-novice

From guillermo@gnsis.net (Guillermo)
Subject How to get current user
Date
Msg-id c051570f.0411161228.5724ba0b@posting.google.com
Whole thread Raw
Responses Re: How to get current user  (Terry Lee Tucker <terry@esc1.com>)
List pgsql-novice
Hi,

How can I get in a PL/pgSQL function, the current user name? I want to
restrict updating a field if the user is not a Superuser.

Thanx,
Guillermo

pgsql-novice by date:

Previous
From: Bryan Irvine
Date:
Subject: Re: PHP - Tutorial
Next
From: Terry Lee Tucker
Date:
Subject: Re: How to get current user