How to determine the currently logged on username - Mailing list pgsql-sql

From Chris Travers
Subject How to determine the currently logged on username
Date
Msg-id 3F17F90F.5020403@travelamericas.com
Whole thread Raw
Responses Re: How to determine the currently logged on username  (Richard Huxton <richardh@archonet.com>)
List pgsql-sql
Hi all;

I will be writing a stored proceedure that will allow a currently logged 
in user to change his/her password.  The function needs to be only able 
to change the password of the currently logged in user, so it will only 
take a varchar() argument and needs to look up the username of the 
currently logged in user.  How do I do this?  Any ideas?

Best Wishes,
Chris Travers




pgsql-sql by date:

Previous
From: Richard Huxton
Date:
Subject: Re: (trigger function) -> ERROR: NEW used in non-rule query
Next
From: Richard Huxton
Date:
Subject: Re: How to determine the currently logged on username