From: Tom Lane <tgl@sss.pgh.pa.us>
To: Sergey Levchenko <sector119@gmail.com>
Cc: pgsql-general@postgresql.org
Subject: Re: ERROR: "TZ"/"tz" not supported
Date: Tue, 28 Jun 2005 10:31:46 -0400
Message-ID: <15066.1119969106@sss.pgh.pa.us> (raw)
In-Reply-To: <e3ffbf2405062803202cc66c80@mail.gmail.com>
References: <e3ffbf2405062803202cc66c80@mail.gmail.com>
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
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 using the --to and --cc options:
reply via email
To: pgsql-sql@postgresql.org
Cc: tgl@sss.pgh.pa.us, sector119@gmail.com, pgsql-general@postgresql.org
Subject: Re: ERROR: "TZ"/"tz" not supported
In-Reply-To: <15066.1119969106@sss.pgh.pa.us>
* 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