| От | Qingqing Zhou |
|---|---|
| Тема | Re: Fix oversight in pts_error_callback() |
| Дата | |
| Msg-id | ddebjn$185g$1@news.hub.org обсуждение исходный текст |
| Ответ на | Fix oversight in pts_error_callback() ("Qingqing Zhou" <zhouqq@cs.toronto.edu>) |
| Список | pgsql-patches |
"Tom Lane" <tgl@sss.pgh.pa.us> writes: > > That's a contrived example (and if I believed it, I would think that the > right answer is to emit no errcontext if the elevel is less than ERROR). > Yes, I've thought about ignore errcontext by considering elevel. But I scratched the source code for other uses of errcontext, and I found seems all of them understand that errcontext will be called unconditionally. For example, buffer_write_error_callback(), it doesn't say "error in writing block ..." but says "writing block ...". So I think this place is not consistent with others - it just says "invalid ... ", and should be changed. Regards, Qingqing
В списке pgsql-patches по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера