Re: Suppress 'duplicate key' at errorlog?
От | Scott Whitney |
---|---|
Тема | Re: Suppress 'duplicate key' at errorlog? |
Дата | |
Msg-id | 1162433235.755302.1427760768118.JavaMail.zimbra@zimbra.int.journyx.com обсуждение исходный текст |
Ответ на | Re: Suppress 'duplicate key' at errorlog? (Scott Ribe <scott_ribe@elevated-dev.com>) |
Ответы |
Re: Suppress 'duplicate key' at errorlog?
|
Список | pgsql-admin |
<p dir="ltr">Am I the only one concerned about a product trying to duplicate a pkey? This is not usually the LAST step. It'searly on in the logical process. You have to find and solve the underlying cause.<br /><div class="cm_quote" style="color: #787878">On Mon, Mar 30, 2015 at 6:17 PM, Scott Ribe <<a href="mailto:scott_ribe@elevated-dev.com">scott_ribe@elevated-dev.com</a>>wrote:</div><br /><div id="oldcontent" style="background-color:rgb(255, 255, 255); background-position: initial initial; background-repeat: initial initial;"><blockquotestyle=""><p dir="ltr">On Mar 30, 2015, at 3:03 PM, Rossi, Maria <maria.rossi@us.pgds.com> wrote:<br /> > <br /> > Hi, <br /> > <br /> > Is there a way to suppress a ‘duplicate key’ msg from the errorlog? Due to a bug in a 3rd party application, this keeps on appearing 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.<br /><br /> No way to turn off that specific error message, but you could filter them out of the log, being carefulof course not to filter any messages which might be more meaningful. You could also prevent the errors from beingraised by using a trigger, but I don't like that idea very much at all. <br /><br /><br /> -- <br /> Scott Ribe <br/> scott_ribe@elevated-dev.com <br /> http://www.elevated-dev.com/ <br /> https://www.linkedin.com/in/scottribe/ <br />(303) 722-0567 voice <br /><br /><br /><br /><br /><br /><br /><br /> -- <br /> Sent via pgsql-admin mailing list (pgsql-admin@postgresql.org)<br /> To make changes to your subscription: <br /> http://www.postgresql.org/mailpref/pgsql-admin<br /></blockquote></div>
В списке pgsql-admin по дате отправления: