| От | Gregory Stark |
|---|---|
| Тема | Re: Dead code as a result of plan cache invalidation? |
| Дата | |
| Msg-id | 871wfocd0k.fsf@oxford.xeocode.com обсуждение исходный текст |
| Ответ на | Re: Dead code as a result of plan cache invalidation? (Tom Lane <tgl@sss.pgh.pa.us>) |
| Ответы |
Re: Dead code as a result of plan cache invalidation?
|
| Список | pgsql-hackers |
"Tom Lane" <tgl@sss.pgh.pa.us> writes: > Gregory Stark <stark@enterprisedb.com> writes: >> Should this case at heaptuple.c:1606 be turned into an elog() now that we have >> plan cache invalidation? > > No, I think it's good as-is. Reading the column as null is the correct > behavior. Isn't the correct behaviour that you would have been prevented from executing that plan and forced to replan your query? Let me put it another way, how would I write a test case to cover these lines of code and not receive an error from replanning? -- Gregory Stark EnterpriseDB http://www.enterprisedb.com
В списке pgsql-hackers по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера