Received: from news.tht.net (news.hub.org [216.126.91.242]) by postgresql.org (8.11.3/8.11.4) with ESMTP id fA9M7bm12653 for ; Fri, 9 Nov 2001 17:07:37 -0500 (EST) (envelope-from news@news.tht.net) Received: (from news@localhost) by news.tht.net (8.11.4/8.11.4) id fA9Llv269482 for pgsql-admin@postgresql.org; Fri, 9 Nov 2001 16:47:57 -0500 (EST) (envelope-from news) From: "Jeff Boes" X-Newsgroups: comp.databases.postgresql.admin Subject: Suppress certain messages from postmaster log? Date: Fri, 09 Nov 2001 16:49:32 -0500 Organization: Nexcerpt, Inc. Lines: 19 Message-ID: <9shiud$23r7$1@news.tht.net> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit X-Complaints-To: scrappy@hub.org User-Agent: Pan/0.9.90 (Unix) To: pgsql-admin@postgresql.org X-Archive-Number: 200111/39 X-Sequence-Number: 2564 We have a process which inserts a number of records into a very large table, and which relies on the presence of a unique index to keep it from inserting something that's already there. Presently, the process just does the insert for each row, and detects the constraint violation to see if the insert failed. However, this goes on all day, and the log is rapidly filling with 2001-11-09 13:40:59 [2280] ERROR: Cannot insert a duplicate key into unique index ix_links_2 over and over. Is there a way for the backend, or the process doing the insert, to suppress this message? It really doesn't inform us of anything, and it's chewing up resources. -- Jeff Boes vox 616.226.9550 Database Engineer fax 616.349.9076 Nexcerpt, Inc. jboes@nexcerpt.com