get username of user calling function? - Mailing list pgsql-general

From George Nychis
Subject get username of user calling function?
Date
Msg-id 45E701EB.4040706@cmu.edu
Whole thread Raw
Responses Re: get username of user calling function?  ("A. Kretschmer" <andreas.kretschmer@schollglas.com>)
List pgsql-general
Hi,

Is it possible to get the username of the user calling a function?

Just as a test, a function which would return the user their username.

Thanks!
George

pgsql-general by date:

Previous
From: "Albe Laurenz"
Date:
Subject: Re: cast bytea to text
Next
From: George Nychis
Date:
Subject: Re: creating a function with a variable table name