On Thu, Mar 03, 2005 at 04:03:25AM -0500,
Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us> wrote
a message of 21 lines which said:
> pass = getpwuid(peercred.uid);
>
> so it sure looks like we *are* using getpwuid.
You're right but I do not understand why it fails only with
PostgreSQL.