"David Parker" <dparker@xxxxxxxxxxxxxxxx> writes: > Is there a function call that will return the pid of the postgres > process associated with the current client connection? libpq makes this available as PQbackendPID(). Dunno about other client libraries. regards, tom lane ---------------------------(end of broadcast)--------------------------- TIP 2: you can get off all lists at once with the unregister command (send "unregister YourEmailAddressHere" to majordomo@xxxxxxxxxxxxxx)