Unix Technical Forum

Re: SQL call to get pid of current connection

This is a discussion on Re: SQL call to get pid of current connection within the Pgsql General forums, part of the PostgreSQL category; --> Yeah, simple enough. I just wanted to make sure I wasn't duplicating something that was already there. Thanks. - ...


Go Back   Unix Technical Forum > Database Server Software > PostgreSQL > Pgsql General

Register FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 04-08-2008, 09:15 PM
David Parker
 
Posts: n/a
Default Re: SQL call to get pid of current connection

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.
>


---------------------------(end of broadcast)---------------------------
TIP 5: Have you checked our extensive FAQ?

http://www.postgresql.org/docs/faq

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Forum Jump


All times are GMT. The time now is 05:40 AM.


Powered by vBulletin® Version 3.6.5
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.2.0
www.UnixAdminTalk.com