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. regards, tom lane ---------------------------(end of broadcast)--------------------------- TIP 4: Have you searched our list archives? http://archives.postgresql.org