Hi guys,

   I have an ECPG based program and I would very much like to get either the 
process id of the backend or the session id for debugging purposes. Is there a 
way to call PQbackendPID() directly from my program (I suppose that will 
require getting hold of the PGconn from "within" ECPG?) or some other way to 
interrogate the ECPG system ?

   My program is multi-threaded.

 Leif

-- 
Sent via pgsql-general mailing list (pgsql-general@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-general

Reply via email to