Bruce Momjian <[EMAIL PROTECTED]> writes:
> There is no user-visible mapping, though the number is the process id. 
> You could use that.  I think you can get the backend process id somehow,
> but I am not sure how.  Anyone?

If you're using libpq, there is a function to retrieve the backend's PID
from the PGconn (PQbackendPID).  I don't think any of the other client
libraries provide this (yet).

                        regards, tom lane

---------------------------(end of broadcast)---------------------------
TIP 5: Have you checked our extensive FAQ?

http://www.postgresql.org/users-lounge/docs/faq.html

Reply via email to