Re: How to get the PID associated with a Perl DBI dbh? - Mailing list pgsql-general

From A. Kretschmer
Subject Re: How to get the PID associated with a Perl DBI dbh?
Date
Msg-id 20090312141312.GD31303@a-kretschmer.de
Whole thread Raw
In response to How to get the PID associated with a Perl DBI dbh?  (Kynn Jones <kynnjo@gmail.com>)
Responses Re: How to get the PID associated with a Perl DBI dbh?
List pgsql-general
In response to Kynn Jones :
> Is there a reliable way to find out the (Unix) PID associated with a database
> handle generated by Perl DBI's database connection?

You can ask the pg_stat_activity - View, column procpid.


HTH, Andreas
--
Andreas Kretschmer
Kontakt:  Heynitz: 035242/47150,   D1: 0160/7141639 (mehr: -> Header)
GnuPG-ID:   0x3FFF606C, privat 0x7F4584DA   http://wwwkeys.de.pgp.net

pgsql-general by date:

Previous
From: Kynn Jones
Date:
Subject: How to get the PID associated with a Perl DBI dbh?
Next
From: Joshua Tolley
Date:
Subject: Re: How to get the PID associated with a Perl DBI dbh?