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

From: Alvaro Herrera <alvherre(at)dcc(dot)uchile(dot)cl>
To: Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us>
Cc: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>, Kris Jurka <books(at)ejurka(dot)com>, pgsql-bugs(at)postgresql(dot)org
Subject: Re: Dump/Restore of cvs regression database gives invalid timestamp syntax error
Date: 2004-07-11 19:14:38
Message-ID: 20040711191437.GA2969@dcc.uchile.cl
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-bugs

On Sun, Jul 11, 2004 at 09:02:06AM -0400, Bruce Momjian wrote:

> Tom just fixed this in CVS.

This particular problem, yes, but maybe we want to detect early this
sort of problems in the future. That's why I think a dump/restore/dump
and compare both dumps could be a good test.

> Alvaro Herrera wrote:
> > On Thu, Jun 24, 2004 at 11:38:59AM -0400, Tom Lane wrote:
> > > 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...
> >
> > Maybe it's a good idea to routinely test regression dump/restore/dump
> > (and compare both dumps). This could also mean trying to keep the most
> > objects in it so features tested for regression are also tested for
> > recoverability ...

--
Alvaro Herrera (<alvherre[a]dcc.uchile.cl>)
"La soledad es compañía"

In response to

Browse pgsql-bugs by date

  From Date Subject
Next Message Mike Evans 2004-07-12 10:00:44 postgres-win32
Previous Message Tom Lane 2004-07-11 15:01:39 Re: [BUGS] BUG #1118: Misleading Commit message