dbTalk Databases Forums  

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

mailing.database.pgsql-bugs mailing.database.pgsql-bugs


Discuss Re: [BUGS] Dump/Restore of cvs regression database gives invalid timestamp syntax error in the mailing.database.pgsql-bugs forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
Tom Lane
 
Posts: n/a

Default Re: [BUGS] Dump/Restore of cvs regression database gives invalid timestamp syntax error - 06-24-2004 , 10:48 AM






Kris Jurka <books (AT) ejurka (DOT) com> writes:
Quote:
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

---------------------------(end of broadcast)---------------------------
TIP 2: you can get off all lists at once with the unregister command
(send "unregister YourEmailAddressHere" to majordomo (AT) postgresql (DOT) org)


Reply With Quote
  #2  
Old   
Alvaro Herrera
 
Posts: n/a

Default Re: [BUGS] Dump/Restore of cvs regression database gives invalid timestamp syntax error - 06-24-2004 , 12:10 PM






On Thu, Jun 24, 2004 at 11:38:59AM -0400, Tom Lane wrote:
Quote:
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>)
"El número de instalaciones de UNIX se ha elevado a 10,
y se espera que este número aumente" (UPM, 1972)


---------------------------(end of broadcast)---------------------------
TIP 1: subscribe and unsubscribe commands go to majordomo (AT) postgresql (DOT) org


Reply With Quote
  #3  
Old   
Alvaro Herrera
 
Posts: n/a

Default Re: [BUGS] Dump/Restore of cvs regression database gives invalid timestamp syntax error - 07-11-2004 , 02:29 PM



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

Quote:
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.


Quote:
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"


---------------------------(end of broadcast)---------------------------
TIP 8: explain analyze is your friend


Reply With Quote
Reply




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.3
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.