Re: Is it worth adding Assert(false) for iso-8859-1 paths in print_path()?
В списке pgsql-hackers по дате отправления:
| От | Alvaro Herrera |
|---|---|
| Тема | Re: Is it worth adding Assert(false) for iso-8859-1 paths in print_path()? |
| Дата | |
| Msg-id | 202309281341.o6n3nglxq2rx@alvherre.pgsql обсуждение |
| Ответ на | Is it worth adding Assert(false) for iso-8859-1 paths in print_path()? (David Rowley <dgrowleyml@gmail.com>) |
| Список | pgsql-hackers |
On 2023-Sep-29, David Rowley wrote: > In [1] Andrey highlighted that I'd forgotten to add print_path() > handling for TidRangePaths in bb437f995. > > I know the OPTIMIZER_DEBUG code isn't exactly well used. I never > personally use it and I work quite a bit in the planner, however, if > we're keeping it, I thought maybe we might get the memo of missing > paths a bit sooner if we add an Assert(false) in the default cases. > > Is the attached worthwhile? Hmm, if we had a buildfarm animal with OPTIMIZER_DEBUG turned on, then I agree it would catch the omission quickly. -- Álvaro Herrera PostgreSQL Developer — https://www.EnterpriseDB.com/ "¿Cómo puedes confiar en algo que pagas y que no ves, y no confiar en algo que te dan y te lo muestran?" (Germán Poo)
В списке pgsql-hackers по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера