Hannu Krosing wrote:
>
> 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.
Ok, I found it from the libpq source: PQbackendPID
I still think it could be documented ;)
----------------
Hannu