Could you possible have some type of variable (preferably the Transaction ID) that can identify an individual process?
There's pg_backend_pid() for 7.4 and backend_pid() as contrib module for earlier releases.
Regards, Andreas
---------------------------(end of broadcast)--------------------------- TIP 1: subscribe and unsubscribe commands go to [EMAIL PROTECTED]