Re: Need linux uid in pg-psql

From: Alan Hodgson <ahodgson(at)simkin(dot)ca>
To: pgsql-general(at)postgresql(dot)org
Subject: Re: Need linux uid in pg-psql
Date: 2011-08-19 15:40:24
Message-ID: 201108190840.24931.ahodgson@simkin.ca
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

On August 19, 2011 07:01:33 AM Gauthier, Dave wrote:
> Is there a way to get the linux idsid of a user, even for a remote network
> connection?
>
> I could write a pg-perlu to get this, but I suspect it won't give me the
> original user when there's a remote connect.
>
> Thanks for any suggestions !

There's an identd protocol for this. It's not commonly used anymore, and when
present tends to deliberately obscure the results.

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message dexdyne 2011-08-19 15:41:10 date_trunc - not sure what is wrong, but it confuses me.
Previous Message Vincent de Phily 2011-08-19 15:32:42 Re: altering foreign key without a table scan