From: John R Pierce <pierce@hogranch.com>
To: pgsql-bugs@postgresql.org
Subject: Re: 32 bit libpq fail to connecting when set a very large "connect_timeout" value
Date: Tue, 21 Oct 2014 11:02:11 -0700
Message-ID: <54469FA3.2050200@hogranch.com> (raw)
In-Reply-To: <7562.1413913742@sss.pgh.pa.us>
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>
List-Unsubscribe: <mailto:majordomo@postgresql.org?body=unsub%20pgsql-bugs>
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
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-bugs@postgresql.org
Cc: pierce@hogranch.com
Subject: Re: 32 bit libpq fail to connecting when set a very large "connect_timeout" value
In-Reply-To: <54469FA3.2050200@hogranch.com>
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> <54469FA3.2050200@hogranch.com>
* 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