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 <neilc@samurai.com> || PGP Key ID: DB3C29FC