pgsql: Make PLy_elog() use pg_integer_constant_p(). - Mailing list pgsql-committers

From Tom Lane
Subject pgsql: Make PLy_elog() use pg_integer_constant_p().
Date
Msg-id E1wgnR2-001ceZ-01@gemulon.postgresql.org
Whole thread
List pgsql-committers
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

Branch
------
REL_19_STABLE

Details
-------
https://git.postgresql.org/pg/commitdiff/017499a50f371c5a801f4e3b9b6a6ec2f59da859

Modified Files
--------------
src/pl/plpython/plpy_elog.h | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)


pgsql-committers by date:

Previous
From: Tom Lane
Date:
Subject: pgsql: Fix LIKE/regex optimization for indexscan with exact-match patte
Next
From: Tom Lane
Date:
Subject: pgsql: Fix LIKE matching with nondeterministic collations and backslash