Re: Add bms_offset_members() function for bitshifting Bitmapsets

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: Add bms_offset_members() function for bitshifting Bitmapsets
Дата
Msg-id 1900289.1776212948@sss.pgh.pa.us
обсуждение
Ответ на Re: Add bms_offset_members() function for bitshifting Bitmapsets  (David Rowley <dgrowleyml@gmail.com>)
Ответы Re: Add bms_offset_members() function for bitshifting Bitmapsets
Список pgsql-hackers
David Rowley <dgrowleyml@gmail.com> writes:
> Your idea of checking the old highest member plus the offset seems a
> more robust method, so I've adjusted the patch to use that.

I question the decision to make this change the set in-place.
Wouldn't it be cheaper and less surprise-prone to always make
a copy?

            regards, tom lane



В списке pgsql-hackers по дате отправления: