Re: SQL call to get pid of current connection

From: Bruno Wolff III <bruno(at)wolff(dot)to>
To: David Parker <dparker(at)tazznetworks(dot)com>
Cc: postgres general <pgsql-general(at)postgresql(dot)org>
Subject: Re: SQL call to get pid of current connection
Date: 2005-06-02 22:02:14
Message-ID: 20050602220214.GA10425@wolff.to
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

On Thu, Jun 02, 2005 at 17:04:22 -0400,
David Parker <dparker(at)tazznetworks(dot)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.

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Sven Willenberger 2005-06-02 22:04:53 Re: adding columns with defaults is not implemented
Previous Message Marcelo 2005-06-02 21:47:27 Re: adding columns with defaults is not implemented