| От | Tom Lane |
|---|---|
| Тема | Re: implementing another hash join... |
| Дата | |
| Msg-id | 18789.1097706528@sss.pgh.pa.us обсуждение исходный текст |
| Ответ на | implementing another hash join... (Martha Chronopoulou <mchron@aueb.gr>) |
| Список | pgsql-hackers |
Martha Chronopoulou <mchron@aueb.gr> writes:
> Im new to postgres and I'm about to implement the algorithm "double
> pipelined hash join". I've started using SPI functions but soon I
> realised that I 'm not at the right way (am I?).
Not even close. You need to be implementing new executor node types
(see backend/executor) and teaching the planner about the properties
of this join method. SPI is at a completely different level of
abstraction ...
> Is there a way that I'm not obliged to change code of the optimizer of
> postgres
Nope. The set of join types it knows about is pretty much hard-wired.
regards, tom lane
В списке pgsql-hackers по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера