Received: from sss.pgh.pa.us ([192.204.191.242]) by postgresql.org (8.11.3/8.11.4) with ESMTP id fBI5ojm23084 for ; Tue, 18 Dec 2001 00:50:45 -0500 (EST) (envelope-from tgl@sss.pgh.pa.us) Received: from sss2.sss.pgh.pa.us (tgl@localhost [127.0.0.1]) by sss.pgh.pa.us (8.11.4/8.11.4) with ESMTP id fBI5oni10716; Tue, 18 Dec 2001 00:50:49 -0500 (EST) To: Sanjay Bhatia cc: pgsql-admin@postgresql.org Subject: Re: NOTICE errors while restoring database. In-reply-to: <20011218050233.11796.qmail@web13003.mail.yahoo.com> References: <20011218050233.11796.qmail@web13003.mail.yahoo.com> Comments: In-reply-to Sanjay Bhatia message dated "Mon, 17 Dec 2001 21:02:33 -0800" Date: Tue, 18 Dec 2001 00:50:49 -0500 Message-ID: <10713.1008654649@sss.pgh.pa.us> From: Tom Lane X-Archive-Number: 200112/111 X-Sequence-Number: 2834 Sanjay Bhatia 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