From: Jaya Swarup <jayas@bsil.com>
To: pgsql-admin@postgresql.org
Cc: nileshn@bsil.com
Subject: Time problem
Date: Wed, 20 Feb 2002 18:02:17 +0530
Message-ID: <001d01c1ba0a$a27f5e20$ed060080@jayantsrv> (raw)
Hi All,
I have installed postgres 7.1.3 as database.
For my application I have used timestamp as the datatype for date and time.
I am facing the following problem:
1) While inserting data, I do not have any trouble and the time taken is the
system time.
2) In the console when I select data it shows me the correct time.
3) BUT, when I am retrieving data from the sql query (code) and displaying
it, it is inexplicably ahead of the System time by exactly 30 mins.
4) I have tried setting the TIME ZONE variable to all possible combinations
as mentioned in the documentation. But even then if I ask the system to SHOW
TIME ZONE, it says "TIME ZONE IS UNKNOWN".
5) I have tried to find and set the environment variable, but again to no
avail.
I need help to sort this out, since it is throwing my otherwise sensible
application out of gear.
Regards
Jaya
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-admin@postgresql.org
Cc: jayas@bsil.com, nileshn@bsil.com
Subject: Re: Time problem
In-Reply-To: <001d01c1ba0a$a27f5e20$ed060080@jayantsrv>
References: <001d01c1ba0a$a27f5e20$ed060080@jayantsrv>
* 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