Received: from gruby_int.cs.net.pl (cafe1.rem.pl [195.205.133.61]) by mail.postgresql.org (8.11.1/8.11.1) with ESMTP id e9UArw276026 for ; Mon, 30 Oct 2000 05:54:00 -0500 (EST) (envelope-from depesz@gruby.cs.net.pl) Received: (from localhost user: 'depesz' uid#500 fake: STDIN (depesz@gruby.cs.net.pl)) by gruby.cs.net.pl id ; Mon, 30 Oct 2000 11:53:15 +0100 Date: Mon, 30 Oct 2000 11:53:15 +0100 From: hubert depesz lubaczewski To: pgsql-interfaces@postgresql.org Subject: how to get rid of "NOTICE"'s in psql? Message-ID: <20001030115315.A30791@gruby> Reply-To: depesz@depesz.pl Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-2 Content-Disposition: inline Content-Transfer-Encoding: 8bit User-Agent: Mutt/1.2.5i X-Archive-Number: 200010/4 X-Sequence-Number: 4 hi, i'm using psql while developing software. i have several .sql scripts which i run via \i script.sql most of them spill out a lot of "NOTICE" lines. like: psql:create.structure.sql:17: NOTICE: CREATE TABLE/PRIMARY KEY will create implicit index 'articles_pkey' for table 'articles' CREATE psql:create.structure.sql:23: NOTICE: CREATE TABLE/PRIMARY KEY will create implicit index 'kolejnosc_pkey' for table 'kolejnosc' psql:create.structure.sql:23: NOTICE: CREATE TABLE will create implicit trigger(s) for FOREIGN KEY check(s) CREATE i want to make psql *not* show any NOTICES - just plain information like "CREATE", "INSERT", "COMMIT" and of course ERROR messages. is there any way (besides recompiling psql with simple "if") to do what i need? depesz -- hubert depesz lubaczewski ------------------------------------------------------------------------ najwspanialszą rzeczą jaką dało nam nowoczesne społeczeństwo, jest niesamowita wręcz łatwość unikania kontaktów z nim ...