pg.ddx.io  pgsql-bugs@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Peter Eisentraut <peter_e@gmx.net>
To: adam.tomjack@zuerchertech.com
Cc: pgsql-bugs@postgresql.org
Subject: Re: BUG #7906: pg_dump exits successfully after an error
Date: Wed, 27 Feb 2013 13:29:48 -0500
Message-ID: <512E509C.8030300@gmx.net> (raw)
In-Reply-To: <E1UA8tE-0004a6-9K@wrigleys.postgresql.org>
References: <E1UA8tE-0004a6-9K@wrigleys.postgresql.org>
List-Unsubscribe: <mailto:majordomo@postgresql.org?body=unsub%20pgsql-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



view thread (2+ messages)

Message-ID: <512E509C.8030300@gmx.net>
Permalink:  ../512E509C.8030300@gmx.net/
Also on:    postgresql.org/message-id/512E509C.8030300@gmx.net

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-bugs@postgresql.org
  Cc: peter_e@gmx.net, adam.tomjack@zuerchertech.com
  Subject: Re: BUG #7906: pg_dump exits successfully after an error
  In-Reply-To: <512E509C.8030300@gmx.net>
  References: <E1UA8tE-0004a6-9K@wrigleys.postgresql.org> <512E509C.8030300@gmx.net>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

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