Re: Trivial heap_finish_speculative() error message inaccuracy
В списке pgsql-hackers по дате отправления:
| От | Tom Lane |
|---|---|
| Тема | Re: Trivial heap_finish_speculative() error message inaccuracy |
| Дата | |
| Msg-id | 10914.1446606608@sss.pgh.pa.us обсуждение |
| Ответ на | Trivial heap_finish_speculative() error message inaccuracy (Peter Geoghegan <pg@heroku.com>) |
| Ответы |
Re: Trivial heap_finish_speculative() error message inaccuracy
|
| Список | pgsql-hackers |
Peter Geoghegan <pg@heroku.com> writes:
> While auditing the access method code associated with ON CONFLICT DO
> UPDATE's speculative insertion infrastructure, I noticed an
> inaccuracy.
> Attached patch fixes the trivial inaccuracy in a defensive elog()
> call. Quite simply, this call site didn't get the memo when we renamed
> that function during the late stages of development.
This seems like a fine teaching moment in which to point out our
longstanding error message style guideline that says not to put
names of C functions into error messages in the first place.
regards, tom lane
В списке pgsql-hackers по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера