Re: Odd timezone backend output

From: Andrew Sullivan <ajs(at)commandprompt(dot)com>
To: pgsql-hackers(at)postgresql(dot)org
Subject: Re: Odd timezone backend output
Date: 2008-05-02 14:25:09
Message-ID: 20080502142508.GD21028@commandprompt.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On Fri, May 02, 2008 at 09:54:20AM -0400, Andrew Chernow wrote:
> I prefer offset from UTC, the timezone abbrevs are ambiguos and confusing.

So did you read the manual on SET TIME ZONE?

> TIME ZONE

> SET TIME ZONE value is an alias for SET timezone TO value. The
> syntax SET TIME ZONE allows special syntax for the time zone
> specification. Here are examples of valid values:

> 'PST8PDT'

> The time zone for Berkeley, California.
> 'Europe/Rome'

> The time zone for Italy.
> -7

> The time zone 7 hours west from UTC (equivalent to
> PDT). Positive values are east from UTC. INTERVAL '-08:00' HOUR
> TO MINUTE

> The time zone 8 hours west from UTC (equivalent to PST).

A

--
Andrew Sullivan
ajs(at)commandprompt(dot)com
+1 503 667 4564 x104
http://www.commandprompt.com/

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Tom Lane 2008-05-02 14:45:31 Re: [COMMITTERS] pgsql: Sigh ...
Previous Message Darren Reed 2008-05-02 14:08:07 Re: Protection from SQL injection