| От | Tom Lane |
|---|---|
| Тема | Re: performance bug in instrument.c |
| Дата | |
| Msg-id | 26952.1360295738@sss.pgh.pa.us обсуждение исходный текст |
| Ответ на | Re: performance bug in instrument.c (Tomas Vondra <tv@fuzzy.cz>) |
| Список | pgsql-hackers |
Tomas Vondra <tv@fuzzy.cz> writes:
> Tom Lane <tgl@sss.pgh.pa.us> wrote:
>> A bigger question is why this is elog(DEBUG2) and not elog(ERROR).
>> Had it been the latter, we'd have noticed the mistake immediately.
>> The current choice might be masking any caller-logic errors that
>> exist, too.
> Not sure why it's DEBUG2, but if it really is an error then it should be
> logged as ERROR I guess.
Perhaps there was a reason for that once, but AFAICT the logic is clean
now. I changed these elogs to ERROR and ran all the regression tests
under auto_explain, and nothing failed. That's hardly conclusive of
course, but it's enough evidence to persuade me to make the change in
HEAD.
regards, tom lane
В списке pgsql-hackers по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера