On Thu, 2002-06-13 at 11:25, Jeff Boes wrote:
> I may have asked this or seen this asked before, but my memory is poor
> today: is there any way to know the process ID associated with the
> database backend connected to a DBD::Pg database handle?

Further investigation shows:

The old 'Pg.pm' (pre-DBD days) had many more functions connected to the
internal API.  In particular, Pg.xs of that day had

  int
  PQbackendPID(conn)
     PG_conn   conn

but as I'm not (yet) a hacker of XS, I can't figure out how to shoehorn
this into DBD::Pg.  Any takers?


-- 
Jeff Boes                                      vox 616.226.9550 ext 24
Database Engineer                                     fax 616.349.9076
Nexcerpt, Inc.                                 http://www.nexcerpt.com
           ...Nexcerpt... Extend your Expertise

Reply via email to