Re: postgres 11.0 partition table works unexpected in update

Поиск
Список
Период
Сортировка
От Amit Langote
Тема Re: postgres 11.0 partition table works unexpected in update
Дата
Msg-id CA+HiwqE6nWnU=EKPjpXcf4vAhLHz7gG_geHJ3fiSC7xf5wM+Jw@mail.gmail.com
обсуждение исходный текст
Ответ на Re: postgres 11.0 partition table works unexpected in update  (Amit Langote <amitlangote09@gmail.com>)
Список pgsql-bugs
On Wed, Oct 24, 2018 at 11:23 PM Amit Langote <amitlangote09@gmail.com> wrote:
> On Wed, Oct 24, 2018 at 8:09 PM 张心灵 <zhangsilly@gmail.com> wrote:
> > BTW: SELECT 14211 % 128 was 3, why record of HASH column user_id 14211 data in partition of 114?
>
> Hash partitioning doesn't apply modulus 3 directly to the value
> '14211'.  It first computes its hash using the hashing function for
> bigint type and then applies the modulus.

Oops, I meant to say "doesn't apply modulus 128 directly to the value 14211".

Thanks,
Amit


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

Предыдущее
От: Amit Langote
Дата:
Сообщение: Re: postgres 11.0 partition table works unexpected in update
Следующее
От: PG Bug reporting form
Дата:
Сообщение: BUG #15457: please de-activate my account