Re: int4->bool test coverage

Поиск
Список
Период
Сортировка
От Michael Paquier
Тема Re: int4->bool test coverage
Дата
Msg-id ZYT467XuR3xsMS7K@paquier.xyz
обсуждение исходный текст
Ответ на int4->bool test coverage  (Christoph Berg <myon@debian.org>)
Ответы Re: int4->bool test coverage  (Michael Paquier <michael@paquier.xyz>)
Список pgsql-hackers
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.

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.
--
Michael

Вложения

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

Предыдущее
От: Michael Paquier
Дата:
Сообщение: Re: ci: Build standalone INSTALL file
Следующее
От: Amit Kapila
Дата:
Сообщение: Re: Track in pg_replication_slots the reason why slots conflict?