]> git.ipfire.org Git - thirdparty/postgresql.git/commit
Make PLy_elog() use pg_integer_constant_p().
authorTom Lane <tgl@sss.pgh.pa.us>
Mon, 6 Jul 2026 17:48:42 +0000 (13:48 -0400)
committerTom Lane <tgl@sss.pgh.pa.us>
Mon, 6 Jul 2026 17:48:42 +0000 (13:48 -0400)
commit017499a50f371c5a801f4e3b9b6a6ec2f59da859
tree1e888ca6a106fdb7b75ecd4071f4179e2905496f
parent67cf73ddbe3334ee1fecc29ffb6d4cd2e10ab9ac
Make PLy_elog() use pg_integer_constant_p().

This macro is supposed to work like ereport().  But when
59c2f03d1 adjusted ereport() to be more MSVC-friendly,
it missed updating this copy of the logic.

Discussion: https://postgr.es/m/754534.1783264708@sss.pgh.pa.us
Backpatch-through: 19
src/pl/plpython/plpy_elog.h