Re: NOTICE errors while restoring database.

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Sanjay Bhatia <sbix(at)yahoo(dot)com>
Cc: pgsql-admin(at)postgresql(dot)org
Subject: Re: NOTICE errors while restoring database.
Date: 2001-12-18 05:50:49
Message-ID: 10713.1008654649@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-admin

Sanjay Bhatia <sbix(at)yahoo(dot)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

In response to

Browse pgsql-admin by date

  From Date Subject
Next Message Andrew G. Hammond 2001-12-18 06:06:59 Re: Resetting connection errors and incomplete restores.
Previous Message Sanjay Bhatia 2001-12-18 05:02:33 NOTICE errors while restoring database.