Add tests for int4_bool() in int.c
commit5f19412e4eae6468361f24fd20e05fb433da5538
authorMichael Paquier <michael@paquier.xyz>
Wed, 31 Jan 2024 06:02:28 +0000 (31 15:02 +0900)
committerMichael Paquier <michael@paquier.xyz>
Wed, 31 Jan 2024 06:02:28 +0000 (31 15:02 +0900)
tree9e48bdf52e3a45d1e004a7653f66b741de207807
parentb588cad688823b1e996ce05af4d88a954c005a3a
Add tests for int4_bool() in int.c

This cast was previously not covered at all by the regression tests.

Author: Christoph Berg
Discussion: https://postgr.es/m/ZYQZ1hNfLd_4rzkn@msg.df7cb.de
src/test/regress/expected/boolean.out
src/test/regress/sql/boolean.sql