Skip site navigation (1) Skip section navigation (2)

Re: server authentication over Unix-domain sockets

From: Magnus Hagander <magnus(at)hagander(dot)net>
To: KaiGai Kohei <kaigai(at)ak(dot)jp(dot)nec(dot)com>
Cc: Peter Eisentraut <peter_e(at)gmx(dot)net>, pgsql-hackers <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: server authentication over Unix-domain sockets
Date: 2010-07-02 08:16:15
Message-ID: (view raw, whole thread or download thread mbox)
Lists: pgsql-hackers
On Fri, Jul 2, 2010 at 8:35 AM, KaiGai Kohei <kaigai(at)ak(dot)jp(dot)nec(dot)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.

> I'd like someone to try to build with this patch on win32 platform,
> and report it.

I think cygwin may be the more important one here.

 Magnus Hagander

In response to


pgsql-hackers by date

Next:From: Mark KirkwoodDate: 2010-07-02 08:30:09
Subject: Re: bitmap indexes - performance
Previous:From: KaiGai KoheiDate: 2010-07-02 07:35:50
Subject: Re: server authentication over Unix-domain sockets

Privacy Policy | About PostgreSQL
Copyright © 1996-2018 The PostgreSQL Global Development Group