how to access backend pid from libpq ? - Mailing list pgsql-hackers

From Hannu Krosing
Subject how to access backend pid from libpq ?
Date
Msg-id 39F56B1B.FA2E842E@tm.ee
Whole thread Raw
Responses Re: how to access backend pid from libpq ?  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-hackers
I was unable to find the way to access the backend pid from libpq

It is probably saved somewhere as part of BackendKeyData message
but there seems to be no function to access it ?

I'm using a temporary solution (my own 'C' function) but I'd like 
to use the info already received.  

---------------
Hannu


pgsql-hackers by date:

Previous
From: KuroiNeko
Date:
Subject: Re: libpq needs -lsocket on UnixWare
Next
From: Hannu Krosing
Date:
Subject: Re: how to access backend pid from libpq ?