| От | Tom Lane |
|---|---|
| Тема | Re: Fix oversight in pts_error_callback() |
| Дата | |
| Msg-id | 26391.1123687502@sss.pgh.pa.us обсуждение исходный текст |
| Ответ на | Re: Fix oversight in pts_error_callback() ("Qingqing Zhou" <zhouqq@cs.toronto.edu>) |
| Список | pgsql-patches |
"Qingqing Zhou" <zhouqq@cs.toronto.edu> writes:
> "Tom Lane" <tgl@sss.pgh.pa.us> writes
>> Please exhibit a case in which you feel this is needed.
> Suppose I want to print a debug info in parseTypeString() like this:
> + elog(DEBUG1, "parse type %s", buf.data);
> raw_parsetree_list = raw_parser(buf.data);
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).
Give me an actual use case in which the patch gives a better rather than
worse error report. I think for most people it would just obfuscate the
message.
regards, tom lane
В списке pgsql-patches по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера