By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
437,903 Members | 1,081 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 437,903 IT Pros & Developers. It's quick & easy.

Pg_dumpall problem

P: n/a
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. Is there a log some
place I can look to see what the error was?
Also, what does one do when the dump file over 5 gigs? How can I possibly
correct whatever error is ocurring?

TIA

Patrick Hatcher

---------------------------(end of broadcast)---------------------------
TIP 6: Have you searched our list archives?

http://archives.postgresql.org

Nov 12 '05 #1
Share this Question
Share on Google+
3 Replies


P: n/a
Patrick Hatcher writes:
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. Is there a log some
place I can look to see what the error was?
Depends on how you started the postmaster. Maybe it's in syslog, maybe
it's in the log file you specified, or maybe it's in /dev/null. Also, you
could just try again and write down the error this time.
Also, what does one do when the dump file over 5 gigs?
There should be no problem with that. Except of course that it is large
and slow to reload, but that you have to deal with.
How can I possibly correct whatever error is ocurring?


Find out what the error is first. :-)

--
Peter Eisentraut pe*****@gmx.net
---------------------------(end of broadcast)---------------------------
TIP 8: explain analyze is your friend

Nov 12 '05 #2

P: n/a

----- Original Message -----
From: Patrick Hatcher
To: pg***********@postgresql.org
Sent: Thursday, November 20, 2003 12:34 AM
Subject: [GENERAL] Pg_dumpall problem
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. Is there a log some
place I can look to see what the error was?
Also, what does one do when the dump file over 5 gigs? How can I possibly
correct whatever error is ocurring?
Depending what the error is sed is a wonderful tool for editing large files.

Matthew
Nov 12 '05 #3

P: n/a

----- Original Message -----
From: Patrick Hatcher
To: pg***********@postgresql.org
Sent: Thursday, November 20, 2003 12:34 AM
Subject: [GENERAL] Pg_dumpall problem
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. Is there a log some
place I can look to see what the error was?
Also, what does one do when the dump file over 5 gigs? How can I possibly
correct whatever error is ocurring?
Depending what the error is sed is a wonderful tool for editing large files.

Matthew
Nov 12 '05 #4

This discussion thread is closed

Replies have been disabled for this discussion.