Timestamp in PG - 7.1 & 7.2 - Mailing list pgsql-sql

From Anagha Joshi
Subject Timestamp in PG - 7.1 & 7.2
Date
Msg-id FF851C7EEB75954F9BCFB5CA117AB1EC61A555@delta.nulinkinc.com
Whole thread Raw
Responses Re: Timestamp in PG - 7.1 & 7.2
List pgsql-sql

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 orI�m missing any envirnonment setting?

 

Help is appreciated�.

 

Thanks,

Anagha

 

pgsql-sql by date:

Previous
From: "Shridhar Daithankar"
Date:
Subject: Re: [PERFORM] EXTERNAL storage and substring on long strings
Next
From: Christoph Haller
Date:
Subject: Re: length of recordset read through a cursor