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
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-admin pgsql-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

Browse pgsql-admin by date

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

Browse pgsql-general by date

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