Re: question about timestamp with tz - Mailing list pgsql-sql

From Scott Marlowe
Subject Re: question about timestamp with tz
Date
Msg-id dcc563d10910221626v1a8c385fw1caeef0934474103@mail.gmail.com
Whole thread Raw
In response to question about timestamp with tz  (the6campbells <the6campbells@gmail.com>)
List pgsql-sql
On Thu, Oct 22, 2009 at 2:41 PM, the6campbells <the6campbells@gmail.com> wrote:
> Question.. is there a way that I can get Postgres to return the tz as
> supplied on the insert statement

PostgreSQL converts the timezone to GMT and stores it with no offset,
then adds an offset based on the TZ of the client requesting it back
later.

If you want to store the offset you'll have to do it yourself.  Note
that offset does not necessarily = timezone...


pgsql-sql by date:

Previous
From: Tom Lane
Date:
Subject: Re: date + interval year - why is the return type convered to a timestamp?
Next
From: Craig Ringer
Date:
Subject: Re: @@Error equivalent in Postgresql