Re: New buildin function - Mailing list pgsql-hackers

From Rod Taylor
Subject Re: New buildin function
Date
Msg-id 1043378940.58142.50.camel@jester
Whole thread Raw
In response to New buildin function  (Olleg Samoylov <olleg@jane.telecom.mipt.ru>)
Responses New buildin function  (Olleg Samoylov <olleg@jane.telecom.mipt.ru>)
List pgsql-hackers
On Wed, 2003-01-22 at 08:09, Olleg Samoylov wrote:
> Hi!
>
> What about adding new function:
> pg_uid()
> pg_session_uid()
>
> as reference to internal function GetUserId() and GetSessionUserId().
>
> These can help useful, for instance in row based securety.

Do CURRENT_USER and SESSION_USER not give those values?

--
Rod Taylor <rbt@rbt.ca>

PGP Key: http://www.rbt.ca/rbtpub.asc

pgsql-hackers by date:

Previous
From: "Christopher Kings-Lynne"
Date:
Subject: Re: Cast and Schemas don't work as expected
Next
From: Tom Lane
Date:
Subject: Re: Cast and Schemas don't work as expected