Search Postgresql Archives

Re: How to silence constraint violation logging for an INSERT

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Fri, Apr 15, 2011 at 05:55:07PM +0200, Paul Millar wrote:
> 
> 	ERROR:  duplicate key value violates unique constraint [..]
> 
> The log files may contain many such messages, depending on the usage-pattern 
> of the end-user.  Including all these messages in the log file is distracting.
> 
> The question is: can we suppress the logging of these message .. but allow 
> other error messages to be logged normally?

No, but I should think grep -v is your friend here.

A

-- 
Andrew Sullivan
ajs@xxxxxxxxxxxxxxx

-- 
Sent via pgsql-general mailing list (pgsql-general@xxxxxxxxxxxxxx)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-general


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Postgresql Jobs]     [Postgresql Admin]     [Postgresql Performance]     [Linux Clusters]     [PHP Home]     [PHP on Windows]     [Kernel Newbies]     [PHP Classes]     [PHP Books]     [PHP Databases]     [Postgresql & PHP]     [Yosemite]
  Powered by Linux