Re: int4->bool test coverage

Поиск
Список
Период
Сортировка
От Michael Paquier
Тема Re: int4->bool test coverage
Дата
Msg-id Zbnj-mh_iS4HI4m2@paquier.xyz
обсуждение исходный текст
Ответ на Re: int4->bool test coverage  (Michael Paquier <michael@paquier.xyz>)
Список pgsql-hackers
On Fri, Dec 22, 2023 at 11:48:11AM +0900, Michael Paquier wrote:
> On Thu, Dec 21, 2023 at 11:56:22AM +0100, Christoph Berg wrote:
>> The first cast is the int4_bool function, but it isn't covered by the
>> regression tests at all. The attached patch adds tests.
>
> I don't see why not.

And one month later, done.

> Interesting that there are a few more of these in int.c, like int2up,
> int4inc, int2smaller, int{2,4}shr, int{2,4}not, etc.

I've left these out for now.
--
Michael

Вложения

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

Предыдущее
От: Kyotaro Horiguchi
Дата:
Сообщение: possible inter-gcc-version incompatibility regarding fat objects
Следующее
От: "Hayato Kuroda (Fujitsu)"
Дата:
Сообщение: RE: Documentation to upgrade logical replication cluster