Re: Document and/or remove unreachable code in tuptoaster.c from varvarlena patch
В списке pgsql-hackers по дате отправления:
| От | Tom Lane |
|---|---|
| Тема | Re: Document and/or remove unreachable code in tuptoaster.c from varvarlena patch |
| Дата | |
| Msg-id | 2240.1186263068@sss.pgh.pa.us обсуждение |
| Ответ на | Document and/or remove unreachable code in tuptoaster.c from varvarlena patch (Gregory Stark <stark@enterprisedb.com>) |
| Ответы |
Re: Document and/or remove unreachable code in tuptoaster.c from varvarlena patch
|
| Список | pgsql-hackers |
Gregory Stark <stark@enterprisedb.com> writes:
> Testers here were having a hard time constructing test cases to reach some
> lines touched by the varvarlena patch. Upon further investigation I'm
> convinced they're unreachable.
I'm not really happy with any of this patch. ISTM that the stuff you
say is unreachable is only so because of non-essential behavioral
choices made in other parts of the code. If we were to change those
other parts later, this code (after patching) would break. I'd rather
leave complete coverage here and not make fragile assumptions; especially
so since these are presumably not performance-critical paths.
regards, tom lane
В списке pgsql-hackers по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера