On Thu, Jun 02, 2005 at 17:04:22 -0400, David Parker <dparker@xxxxxxxxxxxxxxxx> wrote: > Is there a function call that will return the pid of the postgres > process associated with the current client connection? I thought I remembered seeing one, but I looked through the development docs and didn't see a function or a GUC variable with that information. It wouldn't be too hard to write a C or Perl function to get that information. ---------------------------(end of broadcast)--------------------------- TIP 9: the planner will ignore your desire to choose an index scan if your joining column's datatypes do not match