Process- or SessionID with ECPG - Mailing list pgsql-general

From Leif Jensen
Subject Process- or SessionID with ECPG
Date
Msg-id 24991327.13496.1277996707832.JavaMail.root@quick
Whole thread Raw
List pgsql-general
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
idfor debugging purposes. Is there a way to call PQbackendPID() directly from my program (I suppose that will require
gettinghold of the PGconn from "within" ECPG?) or some other way to interrogate the ECPG system ? 

   My program is multi-threaded.

 Leif

pgsql-general by date:

Previous
From: Sam Mason
Date:
Subject: Re: Prevent characters not transposable to LATIN9
Next
From: Mark Cave-Ayland
Date:
Subject: Re: Problems building from source