Re: server authentication over Unix-domain sockets

Поиск
Список
Период
Сортировка
От Peter Eisentraut
Тема Re: server authentication over Unix-domain sockets
Дата
Msg-id 1278088247.25901.5.camel@vanquo.pezone.net
обсуждение исходный текст
Ответ на Re: server authentication over Unix-domain sockets  (Magnus Hagander <magnus@hagander.net>)
Ответы Re: server authentication over Unix-domain sockets  (Andrew Dunstan <andrew@dunslane.net>)
Список pgsql-hackers
On fre, 2010-07-02 at 09:16 +0100, Magnus Hagander wrote:
> On Fri, Jul 2, 2010 at 8:35 AM, KaiGai Kohei <kaigai@ak.jp.nec.com> wrote:
> > (2010/07/01 11:30), Peter Eisentraut wrote:
> > I have a question.
> >
> > The pqGetpwuid() is enclosed by #ifndef WIN32 ... #endif, although
> > this patch encloses the section to obtain user id of the peer by
> > #ifdef HAVE_UNIX_SOCKETS ... #endif.
> >
> > Is there any possibilities that both WIN32 and HAVE_UNIX_SOCKETS are
> > set concurrently? If possible, the libpq may try to call undefined
> > function, then build will be failed.
> 
> Win32 never has HAVE_UNIX_SOCKET.
> 
> Cygwin might though, I recall some old discussion about that - can't
> remember the outcome though, and I can't find it right now.

Cygwin doesn't define WIN32 anyway.




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

Предыдущее
От: Robert Haas
Дата:
Сообщение: Re: get_whatever_oid, part 1: object types with unqualifed names
Следующее
От: "David E. Wheeler"
Дата:
Сообщение: Re: hstore ==> and deprecate =>