pg.ddx.io pgsql-admin@postgresql.org mailing list archive
help / color / mirror / Atom feedProblem with timestamp
2+ messages / 2 participants
[nested] [flat]
* Problem with timestamp
@ 2007-05-30 02:45 Mageshwaran <j_mageshwaran@sifycorp.com>
0 siblings, 1 reply; 2+ messages in thread
From: Mageshwaran @ 2007-05-30 02:45 UTC (permalink / raw)
To: pgsql-general@postgresql.org; pgsql-admin
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@sifycorp.com
^ permalink raw reply [nested|flat] 2+ messages in thread
* Re: Problem with timestamp
@ 2007-05-30 02:59 Tom Lane <tgl@sss.pgh.pa.us>
parent: Mageshwaran <j_mageshwaran@sifycorp.com>
0 siblings, 0 replies; 2+ messages in thread
From: Tom Lane @ 2007-05-30 02:59 UTC (permalink / raw)
To: Mageshwaran <j_mageshwaran@sifycorp.com>; +Cc: pgsql-general@postgresql.org; pgsql-admin
Mageshwaran <j_mageshwaran@sifycorp.com> writes:
> 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.
What "driver" is that, and what goes wrong exactly?
regards, tom lane
^ permalink raw reply [nested|flat] 2+ messages in thread
end of thread, other threads:[~2007-05-30 02:59 UTC | newest]
Thread overview: 2+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2007-05-30 02:45 Problem with timestamp Mageshwaran <j_mageshwaran@sifycorp.com>
2007-05-30 02:59 ` Tom Lane <tgl@sss.pgh.pa.us>
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