Re: Less than ideal error reporting in pg_stat_statements
В списке pgsql-hackers по дате отправления:
| От | Tom Lane |
|---|---|
| Тема | Re: Less than ideal error reporting in pg_stat_statements |
| Дата | |
| Msg-id | 15898.1442965225@sss.pgh.pa.us обсуждение |
| Ответ на | Re: Less than ideal error reporting in pg_stat_statements (Peter Geoghegan <pg@heroku.com>) |
| Ответы |
Re: Less than ideal error reporting in pg_stat_statements
|
| Список | pgsql-hackers |
Peter Geoghegan <pg@heroku.com> writes:
> I'm not opposed to this basic idea, but I think the message should be
> reworded, and that the presence of two separate ereport() call sites
> like the above is totally unnecessary. The existing MaxAllocSize check
> is just defensive; no user-visible distinction needs to be made.
I wonder whether the real problem here is failure to truncate statement
texts to something sane. Do we really need to record the whole text of
multi-megabyte statements? Especially if doing so could render the entire
feature nonfunctional?
regards, tom lane
В списке pgsql-hackers по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера