Re: getting the OS user name

From: Andreas Kretschmer <akretschmer(at)spamfence(dot)net>
To: pgsql-sql(at)postgresql(dot)org
Subject: Re: getting the OS user name
Date: 2012-04-23 14:52:25
Message-ID: 20120423145225.GA28321@tux
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-sql

John Fabiani <johnf(at)jfcomputer(dot)com> wrote:

> Hi,
> In my app it is possible to login as one name and use a different name to
> login to postgres.
>
> Is it possible to get the actual OS login name using plsql.

Since you can login to an remote database server: no.

Andreas
--
Really, I'm not out to destroy Microsoft. That will just be a completely
unintentional side effect. (Linus Torvalds)
"If I was god, I would recompile penguin with --enable-fly." (unknown)
Kaufbach, Saxony, Germany, Europe. N 51.05082°, E 13.56889°

In response to

Responses

Browse pgsql-sql by date

  From Date Subject
Next Message John Fabiani 2012-04-23 14:57:51 Re: getting the OS user name
Previous Message John Fabiani 2012-04-23 14:28:56 getting the OS user name