how to access backend pid from libpq ?

From: Hannu Krosing <hannu(at)tm(dot)ee>
To: "pgsql-hackers(at)postgreSQL(dot)org" <pgsql-hackers(at)postgreSQL(dot)org>
Subject: how to access backend pid from libpq ?
Date: 2000-10-24 10:57:32
Message-ID: 39F56B1B.FA2E842E@tm.ee
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Hannu Krosing 2000-10-24 11:11:07 Re: how to access backend pid from libpq ?
Previous Message Gilles DAROLD 2000-10-24 10:51:24 PL/Perl compilation error