Search Postgresql Archives

Process- or SessionID with ECPG

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



   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@xxxxxxxxxxxxxx)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-general


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Postgresql Jobs]     [Postgresql Admin]     [Postgresql Performance]     [Linux Clusters]     [PHP Home]     [PHP on Windows]     [Kernel Newbies]     [PHP Classes]     [PHP Books]     [PHP Databases]     [Postgresql & PHP]     [Yosemite]
  Powered by Linux