From: Tom Lane <tgl@sss.pgh.pa.us>
To: Michael Paquier <michael.paquier@gmail.com>
Cc: Alvaro Herrera <alvherre@2ndquadrant.com>
Cc: Magnus Hagander <magnus@hagander.net>
Cc: Amit Kapila <amit.kapila16@gmail.com>
Cc: pgsql-hackers <pgsql-hackers@postgresql.org>
Subject: Re: Why doesn't src/backend/port/win32/socket.c implement bind()?
Date: Thu, 14 Apr 2016 11:13:07 -0400
Message-ID: <24293.1460646787@sss.pgh.pa.us> (raw)
In-Reply-To: <CAB7nPqSQzUirjzDVSqWFfnvz5U6D-9eL0aO8aK-w7kdEqoiPWw@mail.gmail.com>
References: <20160413231523.GA151032@alvherre.pgsql>
<13983.1460591213@sss.pgh.pa.us>
<CAB7nPqQhnyiqR-oz7MZ4X4O1o0=v4KYjpcyogMmRtAV46LR3Bw@mail.gmail.com>
<CAB7nPqSQzUirjzDVSqWFfnvz5U6D-9eL0aO8aK-w7kdEqoiPWw@mail.gmail.com>
List-Unsubscribe: <mailto:majordomo@postgresql.org?body=unsub%20pgsql-hackers>
Michael Paquier <michael.paquier@gmail.com> writes:
> On Thu, Apr 14, 2016 at 9:38 AM, Michael Paquier
> <michael.paquier@gmail.com> wrote:
>> IO::Socket::INET is another option, but I am not seeing it in perl <
>> 5.12, and that's not part of ActivePerl, which makes life harder on
>> Windows. Socket is available on both. Does that address your concerns?
> And this gives the patch attached, just took the time to hack it.
I think this is a good idea, but (1) I'm inclined not to restrict it to
Windows, and (2) I think we should hold off applying it until we've seen
a failure or two more, and can confirm whether d1b7d4877 does anything
useful for the error messages.
regards, tom lane
--
Sent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-hackers
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-hackers@postgresql.org
Cc: tgl@sss.pgh.pa.us, michael.paquier@gmail.com, alvherre@2ndquadrant.com, magnus@hagander.net, amit.kapila16@gmail.com
Subject: Re: Why doesn't src/backend/port/win32/socket.c implement bind()?
In-Reply-To: <24293.1460646787@sss.pgh.pa.us>
References: <20160413231523.GA151032@alvherre.pgsql> <13983.1460591213@sss.pgh.pa.us> <CAB7nPqQhnyiqR-oz7MZ4X4O1o0=v4KYjpcyogMmRtAV46LR3Bw@mail.gmail.com> <CAB7nPqSQzUirjzDVSqWFfnvz5U6D-9eL0aO8aK-w7kdEqoiPWw@mail.gmail.com> <24293.1460646787@sss.pgh.pa.us>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox