Re: how to get unique identifier for a client - Mailing list pgsql-general

From Scott Marlowe
Subject Re: how to get unique identifier for a client
Date
Msg-id dcc563d10810141731n2ed7efc0sf31ca5b9f21d9761@mail.gmail.com
Whole thread Raw
In response to how to get unique identifier for a client  (gorsa <gorsa.1972@gmail.com>)
Responses Re: how to get unique identifier for a client  (gorsa <gorsa.1972@gmail.com>)
List pgsql-general
On Fri, Oct 10, 2008 at 3:38 AM, gorsa <gorsa.1972@gmail.com> wrote:
> hi all
> is there a way to get a unique identifier for a client? something like
> a machine id. session_user does not seem to work since a user can log
> on to many workstations. been through the list so i'm not searching
> for getting the ip address since the list said something like it's not
> supported in unix-sockets, though i'll take it since i'm using
> postgres in windows environment. thanks in advance :)

Does this unique identifier need to be something with permanence from
one connection to the next?  If not, then select * from
pg_stat_activity should have uniquely identifying information in it.

pgsql-general by date:

Previous
From: "Scott Marlowe"
Date:
Subject: Re: Drupal and PostgreSQL - performance issues?
Next
From: Tom Lane
Date:
Subject: Re: Column level triggers