Add tests for int4_bool() in int.c

Michael Paquier <michael@paquier.xyz>

Commit: 5f19412e4eae6468361f24fd20e05fb433da5538
Author: Michael Paquier <michael@paquier.xyz>
Date: 2024-01-31T06:02:28Z
Releases: 17.0
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

Files

PathChange+/−
src/test/regress/expected/boolean.out modified +19 −0
src/test/regress/sql/boolean.sql modified +5 −0

Discussion