Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.84_2) (envelope-from ) id 1c1wWw-00069Z-RK for pgsql-bugs@arkaria.postgresql.org; Wed, 02 Nov 2016 14:28:43 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.84_2) (envelope-from ) id 1c1wWw-0004sk-9O for pgsql-bugs@arkaria.postgresql.org; Wed, 02 Nov 2016 14:28:42 +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 1c1rX2-0007v2-SV for pgsql-bugs@postgresql.org; Wed, 02 Nov 2016 09:08:28 +0000 Received: from dc11.etius.jp ([124.146.222.2]) by magus.postgresql.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.84_2) (envelope-from ) id 1c1rWx-0001fD-EV for pgsql-bugs@postgresql.org; Wed, 02 Nov 2016 09:08:27 +0000 Received: (qmail 26305 invoked by SAV 20161101.002 by uid 0); 2 Nov 2016 18:08:15 +0900 Received: from unknown (HELO KSDELL39) (kazuki.ishihara@keisetsu.jp@202.229.253.141) by dc11.etius.jp (124.146.222.2) with ESMTPA; 2 Nov 2016 18:08:15 +0900 From: =?iso-2022-jp?B?GyRCQFA4NhsoQiAbJEJPQjx5GyhC?= To: Subject: collector's time is wrong.(year 2038 problem) Date: Wed, 2 Nov 2016 18:08:14 +0900 Message-ID: <002201d234e8$a4a13110$ede39330$@Ishihara@keisetsu.jp> MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_NextPart_000_0023_01D23534.1488D910" X-Mailer: Microsoft Office Outlook 12.0 Thread-Index: AdI06KSBkLqSQN79QkSEW/7iuAJSQw== Content-Language: ja X-Pg-Spam-Score: -0.9 (/) 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 This is a multi-part message in MIME format. ------=_NextPart_000_0023_01D23534.1488D910 Content-Type: text/plain; charset="iso-2022-jp" Content-Transfer-Encoding: 7bit Dear PostgreSQL Developers. This problem occurs at ver. 9.3 or later. Test environment Windows 7 Ultimate (64bit) Language:Japanese PostgreSQL 9.3.6 and 9.6.1 Windows 8 Embedded (64bit). Language:English PostgreSQL 9.3.5 Steps 1. Change current time. (e.g. Sep. 1st 2040) 2. Start PostgreSQL Service. If someone change the current time after than January 9th 2038. pgstat_recv_inquiry() method was wrong behavior, because GetCurrentTimestamp() returned wrong timestamp. Could you see following logs.(Winows7 x64 PostgreSQL ver.9.6.1) 2040-11-01 14:32:29 JST LOG: database system was shut down at 2016-11-01 14:29:15 JST 2040-11-01 14:32:29 JST LOG: MultiXact member wraparound protections are now enabled 2040-11-01 14:32:29 JST LOG: database system is ready to accept connections 2040-11-01 14:32:29 JST LOG: autovacuum launcher started 2040-11-01 14:32:29 JST LOG: stats_timestamp 2016-11-01 14:29:15.049209+09 is later than collector's time 1904-09-26 08:04:13.934251+09 for database 0 2040-11-01 14:33:30 JST LOG: stats collector's time 2016-11-01 14:29:15.049209+09 is later than backend local time 1904-09-26 08:05:14.025556+09 2040-11-01 14:33:30 JST LOG: stats_timestamp 2016-11-01 14:29:15.049209+09 is later than collector's time 1904-09-26 08:05:14.025556+09 for database 12401 And I don't know whether this causes, but the state of the PostgreSQL service in the Service Manager won't be "starting". Could you investigating these problem. best regards. /*------------------------------------------------ Kazuki Ishihara Mail: Kazuki.Ishihara@keisetsu.jp ------------------------------------------------*/ ------=_NextPart_000_0023_01D23534.1488D910 Content-Type: text/html; charset="iso-2022-jp" Content-Transfer-Encoding: quoted-printable

Dear PostgreSQL = Developers.

 

This = problem occurs at ver. 9.3 or later.

 

Test = environment

Windows 7 Ultimate = (64bit)

Language:Japanese

PostgreSQL 9.3.6 and = 9.6.1

 

Windows = 8 Embedded (64bit).

Language:English

PostgreSQL 9.3.5

 

Steps

1.     = Change current time. (e.g. Sep. 1st = 2040)

2.     = Start PostgreSQL = Service.

 

If = someone change the current time after than January 9th = 2038.

pgstat_recv_inquiry() method was wrong = behavior, because GetCurrentTimestamp() returned wrong = timestamp.

Could you see following logs.(Winows7 x64 = PostgreSQL ver.9.6.1)

 

2040-11-01 14:32:29 JST LOG:  database = system was shut down at 2016-11-01 14:29:15 JST

2040-11-01 14:32:29 JST LOG:  MultiXact = member wraparound protections are now enabled

2040-11-01 14:32:29 JST LOG:  database = system is ready to accept connections

2040-11-01 14:32:29 JST LOG:  autovacuum = launcher started

2040-11-01 14:32:29 JST = LOG:  stats_timestamp 2016-11-01 14:29:15.049209+09 is later than = collector's time 1904-09-26 08:04:13.934251+09 for database = 0

2040-11-01 14:33:30 JST LOG:  stats = collector's time 2016-11-01 14:29:15.049209+09 is later than backend = local time 1904-09-26 08:05:14.025556+09

2040-11-01 14:33:30 JST LOG:  = stats_timestamp 2016-11-01 14:29:15.049209+09 is later than collector's = time 1904-09-26 08:05:14.025556+09 for database = 12401

 

And I = don't know whether this causes, but the state of the PostgreSQL service = in the Service Manager won't be = "starting".

Could you investigating these = problem.

 

best = regards.

/*------------------------------------------------

Kazuki Ishihara

Mail: Kazuki.Ishihara@keisetsu.jp

------------------------------------------------*/

 

------=_NextPart_000_0023_01D23534.1488D910--