duplicate key errors in log file

Поиск
Список
Период
Сортировка
От anj patnaik
Тема duplicate key errors in log file
Дата
Msg-id CAEQKwSmZ6FnWWimXFUAY-7oHFfSMfr8bwrtksEzZLQ=wnNv2Uw@mail.gmail.com
обсуждение исходный текст
Ответы Re: duplicate key errors in log file
Re: duplicate key errors in log file
Список pgsql-general
The pg log files apparently log error lines every time a user inserts a duplicate. I implemented a composite primary key and then when I see the exception in my client app I update the row with the recent data.

however, I don't want the log file to fill out with these error messages since it's handled by the client.

is there a way to stop logging certain messages?

Also do any of you use any options to cause log files not to fill up the disk over time?

Thanks,
ap

В списке pgsql-general по дате отправления: