| От | Tom Lane |
|---|---|
| Тема | Re: not logging caught exceptions |
| Дата | |
| Msg-id | 5834.1257986733@sss.pgh.pa.us обсуждение |
| Ответ на | not logging caught exceptions (Peter Eisentraut <peter_e@gmx.net>) |
| Ответы |
Re: not logging caught exceptions
|
| Список | pgsql-hackers |
Peter Eisentraut <peter_e@gmx.net> writes:
> Is it at all reasonable to try to create some mechanism so that
> exceptions (elog) that are caught and not rethrown do not end up in the
> log? For example, when you write code that does something like
> try
> insert
> catch unique_constraint_violation
> update
> end try
> this will end up cluttering the logs with all the constraint violation
> messages.
Really? It's not supposed to.
regards, tom lane
В списке pgsql-hackers по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера