Re: ERROR: "TZ"/"tz" not supported - Mailing list pgsql-general

From Tom Lane
Subject Re: ERROR: "TZ"/"tz" not supported
Date
Msg-id 15066.1119969106@sss.pgh.pa.us
Whole thread Raw
In response to ERROR: "TZ"/"tz" not supported  (Sergey Levchenko <sector119@gmail.com>)
List pgsql-general
Sergey Levchenko <sector119@gmail.com> writes:
> How can I convert '00:00:05.601 SAMST Tue Jun 28 2005'  (varchar type)
> to timestamp with time zone?

Just casting it would work, except that SAMST is not one of the time
zone abbreviations known to Postgres.  If you're desperate you could
add an entry to the table in datetime.c.  (Someday we really need to
make that list configurable instead of hard-wired.)

            regards, tom lane

pgsql-general by date:

Previous
From: Wayne Johnson
Date:
Subject: User authorization
Next
From: Vivek Khera
Date:
Subject: Re: Finding points within 50 miles