| От | Tom Lane |
|---|---|
| Тема | Re: NoMovementScanDirection |
| Дата | |
| Msg-id | 26362.1099882576@sss.pgh.pa.us обсуждение |
| Ответ на | NoMovementScanDirection (Neil Conway <neilc@samurai.com>) |
| Список | pgsql-hackers |
Neil Conway <neilc@samurai.com> writes:
> In the context of an index scan, what does NoMovementScanDirection
> indicate?
ScanDirection is used in different ways in different places. The
planner uses NoMovementScanDirection to denote an unordered index scan,
and this propagates into the indxorderdir field of IndexScan plan nodes,
However execMain.c uses NoMovementScanDirection to denote "do nothing",
and so es_direction will never have this value at runtime. I think
pquery.c's use is aligned with the executor but it would take some
closer looking to be completely sure.
Not sure if it's worth factoring the enum type into two (or more?)
types to distinguish these shades of meaning.
regards, tom lane
В списке pgsql-hackers по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера