Re: SQL call to get pid of current connection - Mailing list pgsql-general

From David Parker
Subject Re: SQL call to get pid of current connection
Date
Msg-id 07FDEE0ED7455A48AC42AC2070EDFF7C746B89@corpsrv2.tazznetworks.com
Whole thread Raw
In response to SQL call to get pid of current connection  ("David Parker" <dparker@tazznetworks.com>)
List pgsql-general
Yeah, simple enough. I just wanted to make sure I wasn't duplicating
something that was already there.

Thanks.

- DAP

>-----Original Message-----
>From: Bruno Wolff III [mailto:bruno@wolff.to]
>Sent: Thursday, June 02, 2005 6:02 PM
>To: David Parker
>Cc: postgres general
>Subject: Re: SQL call to get pid of current connection
>
>On Thu, Jun 02, 2005 at 17:04:22 -0400,
>  David Parker <dparker@tazznetworks.com> wrote:
>> Is there a function call that will return the pid of the postgres
>> process associated with the current client connection?
>
>I thought I remembered seeing one, but I looked through the
>development docs and didn't see a function or a GUC variable
>with that information.
>It wouldn't be too hard to write a C or Perl function to get
>that information.
>

pgsql-general by date:

Previous
From: Sven Willenberger
Date:
Subject: Re: adding columns with defaults is not implemented
Next
From: "Joshua D. Drake"
Date:
Subject: Re: adding columns with defaults is not implemented