Re: PG 9.0 Solaris compile error on Sparc

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: PG 9.0 Solaris compile error on Sparc
Дата
Msg-id 14896.1279544600@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: PG 9.0 Solaris compile error on Sparc  (Tom Lane <tgl@sss.pgh.pa.us>)
Ответы Re: PG 9.0 Solaris compile error on Sparc
Список pgsql-bugs
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

В списке pgsql-bugs по дате отправления: