Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1XgdlP-0005Xm-7q for pgsql-bugs@arkaria.postgresql.org; Tue, 21 Oct 2014 18:02:31 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.80) (envelope-from ) id 1XgdlO-0002Gm-Lb for pgsql-bugs@arkaria.postgresql.org; Tue, 21 Oct 2014 18:02:30 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.2:DHE_RSA_AES_256_CBC_SHA256:256) (Exim 4.80) (envelope-from ) id 1XgdlN-0002Ge-OL for pgsql-bugs@postgresql.org; Tue, 21 Oct 2014 18:02:29 +0000 Received: from hogranch.com ([75.101.82.47]) by magus.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1XgdlI-0004pU-Nz for pgsql-bugs@postgresql.org; Tue, 21 Oct 2014 18:02:28 +0000 Received: from [192.168.0.2] (porker [192.168.0.2]) by hogranch.com (8.11.6/8.11.6) with ESMTP id s9LI2GZ31171 for ; Tue, 21 Oct 2014 11:02:16 -0700 Message-ID: <54469FA3.2050200@hogranch.com> Date: Tue, 21 Oct 2014 11:02:11 -0700 From: John R Pierce User-Agent: Mozilla/5.0 (Windows NT 6.3; WOW64; rv:24.0) Gecko/20100101 Thunderbird/24.6.0 MIME-Version: 1.0 To: pgsql-bugs@postgresql.org Subject: Re: 32 bit libpq fail to connecting when set a very large "connect_timeout" value References: <75f4618f.c0f7.1492c250468.Coremail.chjischj@163.com> <3051.1413813229@sss.pgh.pa.us> <5e02241f.e1dd.1493378083f.Coremail.chjischj@163.com> <544690D6.1030904@hogranch.com> <7562.1413913742@sss.pgh.pa.us> In-Reply-To: <7562.1413913742@sss.pgh.pa.us> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-HawgScanner-Information: Please contact the ISP for more information X-HawgScanner: Found to be clean X-Pg-Spam-Score: -3.3 (---) List-Archive: List-Help: List-ID: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: X-Mailing-List: pgsql-bugs Precedence: bulk Sender: pgsql-bugs-owner@postgresql.org On 10/21/2014 10:49 AM, Tom Lane wrote: > On my Linux box, it looks like time_t is defined as "long int", which > means problem solved on 64-bit machines. If anyone is still using > 32-bit hardware in 2038, they're probably going to have to endure an > ABI break to widen time_t to int64. FWIW, on a 32bit CentOS 5 (kernel 2.6.18.el5) box I still have around, it looks like time_t is __TIME_T_TYPE which is __SLONGWORD_TYPE which is long int (per grepping .h stuff in /usr/include...) $ uname -a Linux *** 2.6.18-398.el5 #1 SMP Tue Sep 16 20:51:48 EDT 2014 i686 i686 i386 GNU/Linux -- john r pierce 37N 122W somewhere on the middle of the left coast -- Sent via pgsql-bugs mailing list (pgsql-bugs@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-bugs