Re: How to get the PID associated with a Perl DBI dbh?

From: "Greg Sabino Mullane" <greg(at)turnstep(dot)com>
To: pgsql-general(at)postgresql(dot)org
Subject: Re: How to get the PID associated with a Perl DBI dbh?
Date: 2009-03-12 15:50:11
Message-ID: 991d1f36f52276ef973c7f2e0ee3d7f6@biglumber.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general


-----BEGIN PGP SIGNED MESSAGE-----
Hash: RIPEMD160

> Is there a reliable way to find out the (Unix) PID associated with a
> database handle generated by Perl DBI's database connection?

$dbh->{pg_pid}

- --
Greg Sabino Mullane greg(at)turnstep(dot)com
End Point Corporation
PGP Key: 0x14964AC8 200903121148
http://biglumber.com/x/web?pk=2529DF6AB8F79407E94445B4BC9B906714964AC8
-----BEGIN PGP SIGNATURE-----

iEYEAREDAAYFAkm5LwgACgkQvJuQZxSWSsgojQCgyqfH1SyJx+8H3rDXmnoea560
T0AAn2Av9W9Edmt8aNBaV4caN1rScH2O
=GoEE
-----END PGP SIGNATURE-----

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Richard Huxton 2009-03-12 16:00:06 Re: nulls
Previous Message James B. Byrne 2009-03-12 15:32:59 nulls