Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.84_2) (envelope-from ) id 1aqiyc-0000Qh-N8 for pgsql-hackers@arkaria.postgresql.org; Thu, 14 Apr 2016 15:14:38 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.84_2) (envelope-from ) id 1aqiyc-0005ch-9f for pgsql-hackers@arkaria.postgresql.org; Thu, 14 Apr 2016 15:14:38 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1aqixF-0003Ms-SO for pgsql-hackers@postgresql.org; Thu, 14 Apr 2016 15:13:13 +0000 Received: from sss.pgh.pa.us ([66.207.139.130]) by magus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1aqixC-0004Ja-VW for pgsql-hackers@postgresql.org; Thu, 14 Apr 2016 15:13:13 +0000 Received: from sss1.sss.pgh.pa.us (localhost [127.0.0.1]) by sss.pgh.pa.us (8.14.4/8.14.4) with ESMTP id u3EFD74k024294; Thu, 14 Apr 2016 11:13:07 -0400 From: Tom Lane To: Michael Paquier cc: Alvaro Herrera , Magnus Hagander , Amit Kapila , pgsql-hackers Subject: Re: Why doesn't src/backend/port/win32/socket.c implement bind()? In-reply-to: References: <20160413231523.GA151032@alvherre.pgsql> <13983.1460591213@sss.pgh.pa.us> Comments: In-reply-to Michael Paquier message dated "Thu, 14 Apr 2016 20:30:33 +0900" Date: Thu, 14 Apr 2016 11:13:07 -0400 Message-ID: <24293.1460646787@sss.pgh.pa.us> X-Pg-Spam-Score: -2.9 (--) List-Archive: List-Help: List-ID: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: X-Mailing-List: pgsql-hackers Precedence: bulk Sender: pgsql-hackers-owner@postgresql.org Michael Paquier writes: > On Thu, Apr 14, 2016 at 9:38 AM, Michael Paquier > 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