Tom Lane wrote:
>Unfortunately, while we could store the PID of the current lock holder
>in the data structure, I can't think of any adequately portable way to
>do anything with the information :-(. AFAIK there's no portable kernel
>call that asks "is this PID currently running on another CPU?"
>
But do all performance tweaks need to be portable ?
>regards, tom lane
>
>---------------------------(end of broadcast)---------------------------
>TIP 6: Have you searched our list archives?
>
>http://archives.postgresql.org
>