Header and comments describing routines in incorrect shape in visibilitymap.c

Поиск
Список
Период
Сортировка
От Michael Paquier
Тема Header and comments describing routines in incorrect shape in visibilitymap.c
Дата
Msg-id CAB7nPqQsQVZbuyjtkGdb5csry-bcp740G2oMPNcQz3yzx4t0xw@mail.gmail.com
обсуждение исходный текст
Ответы Re: Header and comments describing routines in incorrect shape in visibilitymap.c  (Kyotaro HORIGUCHI <horiguchi.kyotaro@lab.ntt.co.jp>)
Re: Header and comments describing routines in incorrect shape in visibilitymap.c  (Alvaro Herrera <alvherre@2ndquadrant.com>)
Список pgsql-hackers
Hi all,

I just bumped into a couple of things in visibilitymap.c:
- visibilitymap_clear clears all bits of a visibility map, its header
comment mentions the contrary
- The header of visibilitymap.c mentions correctly "a bit" when
referring to setting them, but when clearing, it should say that all
bits are cleared.
- visibilitymap_set can set multiple bits
- visibilitymap_pin can be called to set up more than 1 bit.

This can be summed by the patch attached.
Regards,
--
Michael

Вложения

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

Предыдущее
От: Etsuro Fujita
Дата:
Сообщение: Re: Postgres_fdw join pushdown - wrong results with whole-row reference
Следующее
От: Michael Paquier
Дата:
Сообщение: Re: Documentation fixes for pg_visibility