| От | Abhijit Menon-Sen |
|---|---|
| Тема | Re: [PATCH] binary heap implementation |
| Дата | |
| Msg-id | 20121121051553.GA25027@toroid.org обсуждение исходный текст |
| Ответ на | Re: [PATCH] binary heap implementation (Tom Lane <tgl@sss.pgh.pa.us>) |
| Список | pgsql-hackers |
At 2012-11-20 22:55:52 -0500, tgl@sss.pgh.pa.us wrote: > > BTW, I probably missed some context upthread, but why do we have two > fields at all? I would also have preferred to handle the nodeMergeAppend case using a context pointer as you suggest, but Andres needs to store two pointers in his heap nodes. Andres: suppose we replace binaryheap_node with just a Datum, could you live with storing a pointer to a struct with two pointers? If so, that would address the concerns raised. If not, maybe we should explore Robert's earlier suggestion to make binaryheap_node user-definable (in effect). -- Abhijit
В списке pgsql-hackers по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера