On Tue, Mar 07, 2006 at 12:58:29AM -0500, Tom Lane wrote: > Michael Fuhr <[EMAIL PROTECTED]> writes: > > Is this what you're after? I don't know if there's another way. > > > role_user := current_setting('role'); > > We currently define the spec's CURRENT_ROLE as equivalent to > CURRENT_USER, but I wonder if it shouldn't do what Boris is after.
I wondered why there wasn't a SOME_THING that showed that. Does the spec say anything about it? I just did a quick search and didn't see anything but I might easily have overlooked it. -- Michael Fuhr ---------------------------(end of broadcast)--------------------------- TIP 2: Don't 'kill -9' the postmaster