I wrote: > That code wouldn't be getting compiled if configure hadn't found > getpeerucred present, so I'll bet the problem is just lack of the > #include file that declares the above symbols. A bit of grepping > of /usr/include should give you the answer.
... but looking in src/backend/libpq/auth.c suggests that fe-connect is lacking #if defined(HAVE_STRUCT_CMSGCRED) || defined(HAVE_STRUCT_FCRED) || defined(HAVE_STRUCT_SOCKCRED) #include <sys/uio.h> #include <sys/ucred.h> #endif #ifdef HAVE_UCRED_H #include <ucred.h> #endif regards, tom lane -- Sent via pgsql-bugs mailing list (pgsql-bugs@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-bugs