pg.ddx.io  pgsql-sql@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Anagha Joshi <ajoshi@nulinkinc.com>
To: pgsql-sql@postgresql.org
Subject: Timestamp in PG - 7.1 & 7.2
Date: Tue, 5 Aug 2003 15:51:52 +0530
Message-ID: <FF851C7EEB75954F9BCFB5CA117AB1EC61A555@delta.nulinkinc.com> (raw)

Hi,
I've observed this:
Here is output from PostgreSQL 7.1.2:
 
trapdb=# select cast(datetime(1057637700) as timestamp);
         ?column?          
---------------------------
 2003-07-08 09:45:00+05:30
(1 row)
 
Here is output from PostgreSQL 7.2.4:
 
trapdb=# select cast(datetime(1057637700) as timestamp);
         timestamp
---------------------------
 2003-07-07 22:45:00+05:30
(1 row)
 
I've migrated from PG - 7.1.2 to 7.2.4.
 
My timezone is set as "IST" in both cases.
Is this any version problem or  I'm missing any envirnonment setting?
 
Help is appreciated....
 
Thanks,
Anagha
 

view thread (2+ messages)  latest in thread

Message-ID: <FF851C7EEB75954F9BCFB5CA117AB1EC61A555@delta.nulinkinc.com>
Permalink:  ../FF851C7EEB75954F9BCFB5CA117AB1EC61A555@delta.nulinkinc.com/
Also on:    postgresql.org/message-id/FF851C7EEB75954F9BCFB5CA117AB1EC61A555@delta.nulinkinc.com

 · 

reply

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-sql@postgresql.org
  Cc: ajoshi@nulinkinc.com
  Subject: Re: Timestamp in PG - 7.1 & 7.2
  In-Reply-To: <FF851C7EEB75954F9BCFB5CA117AB1EC61A555@delta.nulinkinc.com>
  References: <FF851C7EEB75954F9BCFB5CA117AB1EC61A555@delta.nulinkinc.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