On Fri, 2003-02-07 at 07:03, Dr. Ernst Molitor wrote: > Hm, by the way, what about adding a function like current_userid to the > core functionality of PostgreSQL?
What exactly would this do that couldn't be done by just querying pg_user directly? SELECT usesysid FROM pg_user WHERE usename = CURRENT_USER; Cheers, Neil -- Neil Conway <[EMAIL PROTECTED]> || PGP Key ID: DB3C29FC ---------------------------(end of broadcast)--------------------------- TIP 5: Have you checked our extensive FAQ? http://www.postgresql.org/users-lounge/docs/faq.html