Re: [GENERAL] SQL call to get pid of current connection

2005-06-02 Thread David Parker
That certainly looks like it! Thanks! - DAP >-Original Message- >From: Michael Fuhr [mailto:[EMAIL PROTECTED] >Sent: Thursday, June 02, 2005 8:47 PM >To: Bruno Wolff III; David Parker; postgres general >Subject: Re: [GENERAL] SQL call to get pid of current connection &g

Re: [GENERAL] SQL call to get pid of current connection

2005-06-02 Thread Tom Lane
"David Parker" <[EMAIL PROTECTED]> writes: > Is there a function call that will return the pid of the postgres > process associated with the current client connection? libpq makes this available as PQbackendPID(). Dunno about other client libraries. regards, tom lane ---

Re: [GENERAL] SQL call to get pid of current connection

2005-06-02 Thread Michael Fuhr
On Thu, Jun 02, 2005 at 05:02:14PM -0500, Bruno Wolff III wrote: > On Thu, Jun 02, 2005 at 17:04:22 -0400, > David Parker <[EMAIL PROTECTED]> wrote: > > Is there a function call that will return the pid of the postgres > > process associated with the current client connection? > > I thought I re

Re: [GENERAL] SQL call to get pid of current connection

2005-06-02 Thread David Parker
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:[EMAIL PROTECTED] >Sent: Thursday, June 02, 2005 6:02 PM >To: David Parker >Cc: postgres general >Subject: Re: SQL cal

Re: [GENERAL] SQL call to get pid of current connection

2005-06-02 Thread Bruno Wolff III
On Thu, Jun 02, 2005 at 17:04:22 -0400, David Parker <[EMAIL PROTECTED]> 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

[GENERAL] SQL call to get pid of current connection

2005-06-02 Thread David Parker
Is there a function call that will return the pid of the postgres process associated with the current client connection? - DAP--David Parker    Tazz Networks    (401) 709-5130