473,387 Members | 1,903 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,387 software developers and data experts.

Problem with Pg_dumpall

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/
---------------------------(end of broadcast)---------------------------
TIP 9: the planner will ignore your desire to choose an index scan if your
joining column's datatypes do not match

Nov 12 '05 #1
1 1457
"Edwin Quijada" <li************@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

---------------------------(end of broadcast)---------------------------
TIP 5: Have you checked our extensive FAQ?

http://www.postgresql.org/docs/faqs/FAQ.html

Nov 12 '05 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

0
by: Hunter Hillegas | last post by:
I am trying to restore a file that I created using pg_dumpall. I have searched the archives and the documentation. I know I am supposed to use pg_restore but there is no example for restoring...
0
by: Hunter Hillegas | last post by:
I see that this is in fact documenated in the man page for pg_dumpall, when I was looking at psql and pg_restore. Thanks, Hunter ---------------------------(end of...
3
by: Patrick Hatcher | last post by:
Did a pg_dumpall from my production database (7.3.2) and I tried to restore to my Dev database (7.4). I receive a data exception error during the import and was stupid enough not to write it down....
3
by: Denis Gasparin | last post by:
I created a user with no superuser privileges: CREATE USER aaa PASSWORD 'bbb' NOCREATEDB NOCREATEUSER; Then i created an authorization schema: CREATE SCHEMA AUTHORIZATION aaa; All worked...
1
by: JM | last post by:
Hi, Just recently one of my box went down due to filestsystem corruption.. Luckily I was able to recover my /var/lib/pgsql directory... now my problem lies on how to recover this data... all...
3
by: mike | last post by:
I have just upgraded froom Fedora test1 to test2 which has upgraded postgres version from 7.4.2 to 7.4.5 (frrom rpm -q) I have used pg_dumpall to dump my database, the restore appeared to go OK,...
2
by: mail | last post by:
Hi, from 7.3 I created a backup by: pg_dumpall > backup from 7.4 trying: pg_restore backup results in postgres' s suspicion that "backup" was not a valid archive.
1
by: Bob Powell | last post by:
** High Priority ** Hello everyone, I have a restore file created by pg_dumpall. The restore file has two users associated with ownership of tables. The postgres user and a user called...
5
by: NTPT | last post by:
Regardi I recently compile Postgresql 7.4.3 with gcc 3.4.0 on RH 7.3 . Regression tests work well All passed, but Some binaries report a relocation error: :pg_dumpall undefined symbol...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.