Re: NOTICE errors while restoring database. - Mailing list pgsql-admin

From Tom Lane
Subject Re: NOTICE errors while restoring database.
Date
Msg-id 10713.1008654649@sss.pgh.pa.us
Whole thread Raw
In response to NOTICE errors while restoring database.  (Sanjay Bhatia <sbix@yahoo.com>)
List pgsql-admin
Sanjay Bhatia <sbix@yahoo.com> writes:
> The pg_dump command exits with a non-zero value when these NOTICEs show up

(a) I suppose you mean pg_restore.

(b) The NOTICEs have nothing to do with it.  pg_restore exits with
status 1 no matter what.  This is a bug, cf

http://developer.postgresql.org/cvsweb.cgi/pgsql/src/bin/pg_dump/pg_restore.c.diff?r1=1.29&r2=1.30

            regards, tom lane

pgsql-admin by date:

Previous
From: Sanjay Bhatia
Date:
Subject: NOTICE errors while restoring database.
Next
From: "Andrew G. Hammond"
Date:
Subject: Re: Resetting connection errors and incomplete restores.