pg.ddx.io  pgsql-sql@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: John Fabiani <johnf@jfcomputer.com>
To: pgsql-sql@postgresql.org
Subject: Re: getting the OS user name
Date: Mon, 23 Apr 2012 07:57:51 -0700
Message-ID: <2787058.GyMcXj9ES3@linux-12> (raw)
In-Reply-To: <20120423145225.GA28321@tux>
References: <4654350.cBryTEqMC6@linux-12>
	<20120423145225.GA28321@tux>

On Monday, April 23, 2012 04:52:25 PM Andreas Kretschmer wrote:
> John Fabiani <johnf@jfcomputer.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

Ahhh! never considered that issue.

Thanks
Johnf



view thread (4+ messages)  latest in thread

Message-ID: <2787058.GyMcXj9ES3@linux-12>
Permalink:  ../2787058.GyMcXj9ES3@linux-12/
Also on:    postgresql.org/message-id/2787058.GyMcXj9ES3@linux-12

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: pgsql-sql@postgresql.org
  Cc: johnf@jfcomputer.com
  Subject: Re: getting the OS user name
  In-Reply-To: <2787058.GyMcXj9ES3@linux-12>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox