Re: RelationGetIndexAttrBitmap() small deviation between comment and code
В списке pgsql-hackers по дате отправления:
| От | Tom Lane |
|---|---|
| Тема | Re: RelationGetIndexAttrBitmap() small deviation between comment and code |
| Дата | |
| Msg-id | 32127.1548113222@sss.pgh.pa.us обсуждение |
| Ответ на | RelationGetIndexAttrBitmap() small deviation between comment and code (David Rowley <david.rowley@2ndquadrant.com>) |
| Ответы |
Re: RelationGetIndexAttrBitmap() small deviation between comment and code
|
| Список | pgsql-hackers |
David Rowley <david.rowley@2ndquadrant.com> writes:
> (This is pretty minor, but I struggled to ignore it)
> In RelationGetIndexAttrBitmap() a comment claims /* We return our
> original working copy for caller to play with */. 3 of the 4 possible
> Bitmapsets follow that comment but for some reason, we make a copy of
> the primary key attrs before returning. This seems both unnecessary
> and also quite out of sync to what all the other Bitmapsets do. I
> don't quite see any reason for doing it so I assume there's none.
I agree, that's pretty bogus. Will push in a minute.
regards, tom lane
В списке pgsql-hackers по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера