Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1YciuE-00027O-Iv for pgsql-admin@arkaria.postgresql.org; Mon, 30 Mar 2015 23:15:42 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.80) (envelope-from ) id 1YciuD-0003HF-Q6 for pgsql-admin@arkaria.postgresql.org; Mon, 30 Mar 2015 23:15:41 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.2:DHE_RSA_AES_256_CBC_SHA256:256) (Exim 4.80) (envelope-from ) id 1YciuC-0003FA-DQ for pgsql-admin@postgresql.org; Mon, 30 Mar 2015 23:15:40 +0000 Received: from mailout.easymail.ca ([64.68.201.169]) by magus.postgresql.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.80) (envelope-from ) id 1Yciu7-0007RS-SN for pgsql-admin@postgresql.org; Mon, 30 Mar 2015 23:15:39 +0000 Received: from localhost (localhost [127.0.0.1]) by mailout.easymail.ca (Postfix) with ESMTP id EAC82E38A; Mon, 30 Mar 2015 19:15:31 -0400 (EDT) X-Virus-Scanned: Debian amavisd-new at mailout.easymail.ca X-Spam-Flag: NO X-Spam-Score: -3.933 X-Spam-Level: X-Spam-Status: No, score=-3.933 required=5 tests=[ALL_TRUSTED=-1.8, AWL=-0.226, BAYES_00=-2.599, DNS_FROM_AHBL_RHSBL=0.692] Received: from mailout.easymail.ca ([127.0.0.1]) by localhost (easymail-mailout.easydns.vpn [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id PIyTh0tfYtUH; Mon, 30 Mar 2015 19:15:31 -0400 (EDT) Received: from [192.168.2.16] (unknown [8.39.228.5]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mailout.easymail.ca (Postfix) with ESMTPSA id 5F8CBE1CB; Mon, 30 Mar 2015 19:15:31 -0400 (EDT) Content-Type: text/plain; charset=utf-8 Mime-Version: 1.0 (Mac OS X Mail 8.2 \(2070.6\)) Subject: Re: Suppress 'duplicate key' at errorlog? From: Scott Ribe In-Reply-To: <33A4D5087BF0D44DA69C5EEF666BC1D74263DD2C@usprmbp01c> Date: Mon, 30 Mar 2015 17:15:29 -0600 Cc: "pgsql-admin@postgresql.org" Content-Transfer-Encoding: quoted-printable Message-Id: <4BFDA821-C2D3-4614-A66F-FF0D9FDEE5EB@elevated-dev.com> References: <33A4D5087BF0D44DA69C5EEF666BC1D74263DD2C@usprmbp01c> To: "Rossi, Maria" X-Mailer: Apple Mail (2.2070.6) X-Pg-Spam-Score: -2.6 (--) List-Archive: List-Help: List-ID: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: X-Mailing-List: pgsql-admin Precedence: bulk Sender: pgsql-admin-owner@postgresql.org On Mar 30, 2015, at 3:03 PM, Rossi, Maria wrote: >=20 > Hi, >=20=20 > Is there a way to suppress a =E2=80=98duplicate key=E2=80=99 msg from th= e errorlog? Due to a bug in a 3rd party application, this keeps on appear= ing and I am concerned that it will fill up the filesystem. I can delete= the old errorlog, but if there is any other meaningful msgs out there, I= would lose that too. No way to turn off that specific error message, but you could filter them o= ut of the log, being careful of course not to filter any messages which mig= ht be more meaningful. You could also prevent the errors from being raised = by using a trigger, but I don't like that idea very much at all. --=20 Scott Ribe scott_ribe@elevated-dev.com http://www.elevated-dev.com/ https://www.linkedin.com/in/scottribe/ (303) 722-0567 voice --=20 Sent via pgsql-admin mailing list (pgsql-admin@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-admin