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

From Bruno Wolff III
Subject Re: SQL call to get pid of current connection
Date
Msg-id 20050602220214.GA10425@wolff.to
Whole thread Raw
In response to SQL call to get pid of current connection  ("David Parker" <dparker@tazznetworks.com>)
Responses Re: SQL call to get pid of current connection  (Michael Fuhr <mike@fuhr.org>)
List pgsql-general
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: "Marcelo"
Date:
Subject: Re: adding columns with defaults is not implemented
Next
From: Sven Willenberger
Date:
Subject: Re: adding columns with defaults is not implemented