Re: Best practices: Handling Daylight-saving time

From: Scott Ribe <scott_ribe(at)killerbytes(dot)com>
To: Randall Nortman <postgreslists(at)wonderclown(dot)com>, <pgsql-general(at)postgresql(dot)org>
Subject: Re: Best practices: Handling Daylight-saving time
Date: 2005-03-14 23:35:00
Message-ID: BE5B6DB4.1CC3A%scott_ribe@killerbytes.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

>> 3) If I retrieve them without "at time zone" I will get them with
>> the time zone that was stored in the first place, right ?
> [...]
>
> This would be news to me. I don't think it's possible to *not* have a
> timezone set on a session. The server will have a default timezone
> based either on the local (server) system time or the setting of the
> timezone variable in postgresql.conf. Additionally, libpq
> applications will, I believe, issue a "set timezone" during initial
> connection setup.

This is certainly the default behavior--I don't know whether there are
settings to change it. All I know is that I regularly work with a database
located in a different time zone, and displayed times are adjusted to my
local time.

--
Scott Ribe
scott_ribe(at)killerbytes(dot)com
http://www.killerbytes.com/
(303) 665-7007 voice

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Joshua D. Drake 2005-03-14 23:35:31 Re: Logging VACUUM activity
Previous Message David Gagnon 2005-03-14 23:20:27 Re: Problem with special character � on