Re: Sparse bit set data structure

Поиск
Список
Период
Сортировка
От Julien Rouhaud
Тема Re: Sparse bit set data structure
Дата
Msg-id CAOBaU_Ya9u-TLvm4ZSM6iYKtKRgLmdA1Uz1xJzaoD3j=13FF2Q@mail.gmail.com
обсуждение исходный текст
Ответ на Re: Sparse bit set data structure  (Julien Rouhaud <rjuju123@gmail.com>)
Список pgsql-hackers
On Thu, Mar 14, 2019 at 4:37 PM Julien Rouhaud <rjuju123@gmail.com> wrote:
>
> +       if (newitem <= sbs->last_item)
> +           elog(ERROR, "cannot insert to sparse bitset out of order");
>
> Is there any reason to disallow inserting duplicates?  AFAICT nothing
> prevents that in the current code.  If that's intended, that probably
> should be documented.

That of course won't work well with SBS_LEAF_BITMAP.  I'd still prefer
a more explicit error message.


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

Предыдущее
От: "Imai, Yoshikazu"
Дата:
Сообщение: RE: proposal: pg_restore --convert-to-text
Следующее
От: Kyotaro HORIGUCHI
Дата:
Сообщение: Re: Is PREPARE of ecpglib thread safe?