Re: Dump/Restore of cvs regression database gives invalid timestamp syntax error

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Kris Jurka <books(at)ejurka(dot)com>
Cc: pgsql-bugs(at)postgresql(dot)org
Subject: Re: Dump/Restore of cvs regression database gives invalid timestamp syntax error
Date: 2004-06-24 15:38:59
Message-ID: 14588.1088091539@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-bugs

Kris Jurka <books(at)ejurka(dot)com> writes:
> ERROR: invalid input syntax for type timestamp with time zone:
> "0097-02-16 17:32:01 BC-08"

Thanks for catching this. It never came up before because we never
would try to output timezone info for a BC date...

We could make it output either of
0097-02-16 17:32:01 BC -08
0097-02-16 17:32:01-08 BC
as the input parser will take either. I'm kinda leaning to the latter;
any contrary opinions?

regards, tom lane

In response to

Responses

Browse pgsql-bugs by date

  From Date Subject
Next Message Alvaro Herrera 2004-06-24 17:02:18 Re: Dump/Restore of cvs regression database gives invalid timestamp syntax error
Previous Message Hebert, Caroline 2004-06-24 13:56:04 ECPG doesn't return the correct length for an empty