Process- or SessionID with ECPG
Process- or SessionID with ECPG
От:
Leif Jensen <leif@crysberg.dk>
Дата:
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