pg.ddx.io pgsql-bugs@postgresql.org mailing list archive
help / color / mirror / Atom feedBUG #7906: pg_dump exits successfully after an error
2+ messages / 2 participants
[nested] [flat]
* BUG #7906: pg_dump exits successfully after an error
@ 2013-02-26 00:59 adam.tomjack@zuerchertech.com
2013-02-27 18:29 ` Re: BUG #7906: pg_dump exits successfully after an error Peter Eisentraut <peter_e@gmx.net>
0 siblings, 1 reply; 2+ messages in thread
From: adam.tomjack@zuerchertech.com @ 2013-02-26 00:59 UTC (permalink / raw)
To: pgsql-bugs
The following bug has been logged on the website:
Bug reference: 7906
Logged by: Adam Tomjack
Email address: adam.tomjack@zuerchertech.com
PostgreSQL version: 9.2.1
Operating system: Linux 2.6.32-39-server #86-Ubuntu SMP x86_64
Description:
I have a database that uses a user-defined datatype. If the .so file
implementing that type is missing, pg_dump will fail when dumping a table
which uses that type, but it will still exit with status 0. The dump file
will be truncated and invalid.
Output:
pg_dump: Dumping the contents of table "foo" failed: PQgetResult() failed.
pg_dump: Error message from server: ERROR: could not access file
"bar-type": No such file or directory
pg_dump: The command was: COPY public.foo (baz) TO stdout;
--
Sent via pgsql-bugs mailing list (pgsql-bugs@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-bugs
^ permalink raw reply [nested|flat] 2+ messages in thread
* Re: BUG #7906: pg_dump exits successfully after an error
2013-02-26 00:59 BUG #7906: pg_dump exits successfully after an error adam.tomjack@zuerchertech.com
@ 2013-02-27 18:29 ` Peter Eisentraut <peter_e@gmx.net>
0 siblings, 0 replies; 2+ messages in thread
From: Peter Eisentraut @ 2013-02-27 18:29 UTC (permalink / raw)
To: adam.tomjack@zuerchertech.com; +Cc: pgsql-bugs
On 2/25/13 7:59 PM, adam.tomjack@zuerchertech.com wrote:
> I have a database that uses a user-defined datatype. If the .so file
> implementing that type is missing, pg_dump will fail when dumping a table
> which uses that type, but it will still exit with status 0. The dump file
> will be truncated and invalid.
>
> Output:
>
> pg_dump: Dumping the contents of table "foo" failed: PQgetResult() failed.
> pg_dump: Error message from server: ERROR: could not access file
> "bar-type": No such file or directory
> pg_dump: The command was: COPY public.foo (baz) TO stdout;
I can reproduce exactly this output, but the exit status is 1.
Can we see the exact pg_dump command that you are executing?
--
Sent via pgsql-bugs mailing list (pgsql-bugs@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-bugs
^ permalink raw reply [nested|flat] 2+ messages in thread
end of thread, other threads:[~2013-02-27 18:29 UTC | newest]
Thread overview: 2+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2013-02-26 00:59 BUG #7906: pg_dump exits successfully after an error adam.tomjack@zuerchertech.com
2013-02-27 18:29 ` Peter Eisentraut <peter_e@gmx.net>
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