Problem with Pg_dumpall

Started by Edwin Quijadaover 22 years ago2 messagesgeneral
Jump to latest
#1Edwin Quijada
listas_quijada@hotmail.com

Hi!
I am trying to do a dump all and when I do this I get this error

pg_dumpall: query failed: ERROR: Unable to convert abstime 'invalid' to
timestamp
pg_dumpall: query was: SELECT usename, usesysid, passwd, usecreatedb,
usesuper, CAST(valuntil AS timestamp) FROM pg_shadow WHERE usesysid <>
(SELECT datdba FROM pg_database WHERE datname = 'template0');

What is my problem???

_________________________________________________________________
Charla con tus amigos en l�nea mediante MSN Messenger:
http://messenger.yupimsn.com/

#2Tom Lane
tgl@sss.pgh.pa.us
In reply to: Edwin Quijada (#1)
Re: Problem with Pg_dumpall

"Edwin Quijada" <listas_quijada@hotmail.com> writes:

I am trying to do a dump all and when I do this I get this error

pg_dumpall: query failed: ERROR: Unable to convert abstime 'invalid' to
timestamp

IIRC it is possible to get this error in some upgrade scenarios if you
have pg_shadow rows whose "valuntil" field is "invalid". Set those
entries to something else (NULL, perhaps) and you should be okay.

regards, tom lane