Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dOP0A-00029s-Au for pgsql-admin@arkaria.postgresql.org; Fri, 23 Jun 2017 13:51:58 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.84_2) (envelope-from ) id 1dOP09-0003uD-D2 for pgsql-admin@arkaria.postgresql.org; Fri, 23 Jun 2017 13:51:57 +0000 Received: from makus.postgresql.org ([2001:4800:1501:1::229]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1dOP08-0003tq-QO for pgsql-admin@postgresql.org; Fri, 23 Jun 2017 13:51:56 +0000 Received: from mailout.easymail.ca ([64.68.200.34]) by makus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1dOP01-0001j6-Rr for pgsql-admin@postgresql.org; Fri, 23 Jun 2017 13:51:55 +0000 Received: from localhost (localhost [127.0.0.1]) by mailout.easymail.ca (Postfix) with ESMTP id 408A7C560C; Fri, 23 Jun 2017 13:51:43 +0000 (UTC) Received: from mailout.easymail.ca ([127.0.0.1]) by localhost (emo01-pco.easydns.vpn [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id RouMFb8wDmCe; Fri, 23 Jun 2017 13:51:43 +0000 (UTC) Received: from [192.168.2.118] (unknown [8.39.228.5]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mailout.easymail.ca (Postfix) with ESMTPSA id 2B5F4C5605; Fri, 23 Jun 2017 13:51:40 +0000 (UTC) Content-Type: text/plain; charset=us-ascii Mime-Version: 1.0 (Mac OS X Mail 10.3 \(3273\)) Subject: Re: epoch value different in Postgresql9.0.4 and Postgresql9.6.3 From: scott ribe In-Reply-To: <1008984454.320532.1498199877441@mail.yahoo.com> Date: Fri, 23 Jun 2017 07:51:37 -0600 Cc: "pgsql-admin@postgresql.org" Content-Transfer-Encoding: quoted-printable Message-Id: References: <1008984454.320532.1498199877441.ref@mail.yahoo.com> <1008984454.320532.1498199877441@mail.yahoo.com> To: Om Prakash Jaiswal X-Mailer: Apple Mail (2.3273) List-Archive: List-Help: List-ID: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: X-Mailing-List: pgsql-admin Precedence: bulk Sender: pgsql-admin-owner@postgresql.org Check your postgresql.conf on both, see if you set the default timezone in = either. Also, reconsider seriously whether timestamp without timezone is the correc= t type for your use here. > On Jun 23, 2017, at 12:37 AM, Om Prakash Jaiswal wro= te: >=20 >=20 > At RHEL6.5 32bit OS, PostgreSQL 9.0.4(Attached File IMG_20170623_093733_H= DR.jpg) > EPOCH value is different for the same time and data type=20 >=20 > from=20 > At RHEL7.3 64bit OS, PostgreSQL 9.4.8.(Attached File IMG_20170623_094034_= HDR.jpg >=20 >=20 > EPOCH value At RHEL7.3 64bit OS, PostgreSQL 9.4.8. and At RHEL7.3 64bit O= S, PostgreSQL 9.6.3 are same. >=20 > At everywhere I have select 'Asia/Kolkata' time zone in both OS and postg= resql.conf file. >=20 > Kindly look the matter and resolve the issue. > I am using in a Big project. Now I want to update postgreSQL version. I a= m getting this problem. > Because of that our client application is displaying actual time + 5:30 H= ours.=20 > Now I need to change in client application code to display correct time. = Which will increase more man power. >=20 > Kindly resolve the issue. >=20 > Regards > Om Prakash > DBA, Bangalore > Mob: 9035635787 >=20 >=20 >=20 > > --=20 > Sent via pgsql-admin mailing list (pgsql-admin@postgresql.org) > To make changes to your subscription: > http://www.postgresql.org/mailpref/pgsql-admin -- Scott Ribe scott_ribe@elevated-dev.com (303) 722-0567 --=20 Sent via pgsql-admin mailing list (pgsql-admin@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-admin