Skip site navigation (1) Skip section navigation (2)

Problem with timestamp

From: Mageshwaran <j_mageshwaran(at)sifycorp(dot)com>
To: pgsql-general(at)postgresql(dot)org, pgsql-admin(at)postgresql(dot)org
Subject: Problem with timestamp
Date: 2007-05-30 02:45:11
Message-ID: 465CE537.9020903@sifycorp.com (view raw or flat)
Thread:
Lists: pgsql-adminpgsql-general
Hi,
          We have our application which uses postgres 7.1.3 version in 
that we use a time functions like now(),timestamp..... etc mostly 
timestamp without timezone.We don't need the timezone in that variable 
so we ignore it using timestamp without timezone. The same is not 
working with higher versions.We are facing problems in migration. We are 
able to store the dates in the database but while retrieving the driver 
is not able to retrieve. We found a temporary change  by replacing all 
the time functions to localtimestamp() but we have to do code change for 
that.  Can we have any other solution where we don't have to change our 
code and that should accept all types of time values without timezone?


Regards,
Magesh

********** DISCLAIMER **********
Information contained and transmitted by this E-MAIL is proprietary to 
Sify Limited and is intended for use only by the individual or entity to 
which it is addressed, and may contain information that is privileged, 
confidential or exempt from disclosure under applicable law. If this is a 
forwarded message, the content of this E-MAIL may not have been sent with 
the authority of the Company. If you are not the intended recipient, an 
agent of the intended recipient or a  person responsible for delivering the 
information to the named recipient,  you are notified that any use, 
distribution, transmission, printing, copying or dissemination of this 
information in any way or in any manner is strictly prohibited. If you have 
received this communication in error, please delete this mail & notify us 
immediately at admin(at)sifycorp(dot)com

Responses

pgsql-admin by date

Next:From: Tom LaneDate: 2007-05-30 02:59:35
Subject: Re: Problem with timestamp
Previous:From: Roman ChervotkinDate: 2007-05-29 22:09:00
Subject: pg_dump: Error message from server: ERROR: compressed data is corrupt

pgsql-general by date

Next:From: Tom LaneDate: 2007-05-30 02:49:52
Subject: Re: function retuning refcursor, order by ignored?
Previous:From: Tom LaneDate: 2007-05-30 02:38:11
Subject: Re: TimeZone List

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group