Hannu Krosing <hannu(at)tm(dot)ee> writes:> I was unable to find the way to access the backend pid from libpq
extern int PQbackendPID(const PGconn *conn);
regards, tom lane