pg.ddx.io pgsql-sql@postgresql.org mailing list archive
help / color / mirror / Atom feedpg_restore "WARNING: errors ignored on restore"
3+ messages / 3 participants
[nested] [flat]
* pg_restore "WARNING: errors ignored on restore"
@ 2009-10-28 18:44 Bryce Nesbitt <bryce2@obviously.com>
2009-10-28 19:09 ` Re: pg_restore "WARNING: errors ignored on restore" Tom Lane <tgl@sss.pgh.pa.us>
2009-10-29 18:04 ` Re: pg_restore "WARNING: errors ignored on restore" Gerardo Herzig <gherzig@fmed.uba.ar>
0 siblings, 2 replies; 3+ messages in thread
From: Bryce Nesbitt @ 2009-10-28 18:44 UTC (permalink / raw)
To: pgsql-sql
So when restoring a particular DB with pg_restore, I get "WARNING:
errors ignore on restore". Is there a way to dump a list of those errors?
# /usr/local/bin/pg_restore8.3 -d SUP-3067 -h 192.168.1.93 -p 5433 -U
postgres -L toc_with_parts_commented_out.txt -v production_db.dump.20091016
....
pg_restore8.3: setting owner and privileges for FK CONSTRAINT
api1_view_test_arguments_test_fkey
pg_restore8.3: setting owner and privileges for FK CONSTRAINT
api1_view_test_expected_results_test_fkey
WARNING: errors ignored on restore: 985
^ permalink raw reply [nested|flat] 3+ messages in thread
* Re: pg_restore "WARNING: errors ignored on restore"
2009-10-28 18:44 pg_restore "WARNING: errors ignored on restore" Bryce Nesbitt <bryce2@obviously.com>
@ 2009-10-28 19:09 ` Tom Lane <tgl@sss.pgh.pa.us>
1 sibling, 0 replies; 3+ messages in thread
From: Tom Lane @ 2009-10-28 19:09 UTC (permalink / raw)
To: Bryce Nesbitt <bryce2@obviously.com>; +Cc: pgsql-sql
Bryce Nesbitt <bryce2@obviously.com> writes:
> So when restoring a particular DB with pg_restore, I get "WARNING:
> errors ignore on restore". Is there a way to dump a list of those errors?
All such errors should have been reported on stderr already.
I imagine the chatter from -v is distracting you ... try dropping
that switch.
regards, tom lane
^ permalink raw reply [nested|flat] 3+ messages in thread
* Re: pg_restore "WARNING: errors ignored on restore"
2009-10-28 18:44 pg_restore "WARNING: errors ignored on restore" Bryce Nesbitt <bryce2@obviously.com>
@ 2009-10-29 18:04 ` Gerardo Herzig <gherzig@fmed.uba.ar>
1 sibling, 0 replies; 3+ messages in thread
From: Gerardo Herzig @ 2009-10-29 18:04 UTC (permalink / raw)
To: Bryce Nesbitt <bryce2@obviously.com>; +Cc: pgsql-sql
Bryce Nesbitt wrote:
> So when restoring a particular DB with pg_restore, I get "WARNING:
> errors ignore on restore". Is there a way to dump a list of those errors?
>
>
> # /usr/local/bin/pg_restore8.3 -d SUP-3067 -h 192.168.1.93 -p 5433 -U
> postgres -L toc_with_parts_commented_out.txt -v production_db.dump.20091016
> ....
> pg_restore8.3: setting owner and privileges for FK CONSTRAINT
> api1_view_test_arguments_test_fkey
> pg_restore8.3: setting owner and privileges for FK CONSTRAINT
> api1_view_test_expected_results_test_fkey
> WARNING: errors ignored on restore: 985
>
>
try using pg_restore ...... 2>errors.txt
That would create the errors.txt file, with everything that is writen to
STDERR (ussualy errors and warnings)
^ permalink raw reply [nested|flat] 3+ messages in thread
end of thread, other threads:[~2009-10-29 18:04 UTC | newest]
Thread overview: 3+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2009-10-28 18:44 pg_restore "WARNING: errors ignored on restore" Bryce Nesbitt <bryce2@obviously.com>
2009-10-28 19:09 ` Tom Lane <tgl@sss.pgh.pa.us>
2009-10-29 18:04 ` Gerardo Herzig <gherzig@fmed.uba.ar>
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox