agora inbox for pgsql-committers@postgresql.org  
help / color / mirror / Atom feed
pgsql: Make PLy_elog() use pg_integer_constant_p().
2+ messages / 1 participants
[nested] [flat]

* pgsql: Make PLy_elog() use pg_integer_constant_p().
@ 2026-07-06 17:48  Tom Lane <tgl@sss.pgh.pa.us>
  0 siblings, 0 replies; 2+ messages in thread

From: Tom Lane @ 2026-07-06 17:48 UTC (permalink / raw)
  To: pgsql-committers@lists.postgresql.org

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
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/431896a84eb127b4fe1b609a56c67e28105136c7

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



^ permalink  raw  reply  [nested|flat] 2+ messages in thread

* pgsql: Make PLy_elog() use pg_integer_constant_p().
@ 2026-07-06 17:48  Tom Lane <tgl@sss.pgh.pa.us>
  0 siblings, 0 replies; 2+ messages in thread

From: Tom Lane @ 2026-07-06 17:48 UTC (permalink / raw)
  To: pgsql-committers@lists.postgresql.org

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(-)



^ permalink  raw  reply  [nested|flat] 2+ messages in thread


end of thread, other threads:[~2026-07-06 17:48 UTC | newest]

Thread overview: 2+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2026-07-06 17:48 pgsql: Make PLy_elog() use pg_integer_constant_p(). Tom Lane <tgl@sss.pgh.pa.us>
2026-07-06 17:48 pgsql: Make PLy_elog() use pg_integer_constant_p(). Tom Lane <tgl@sss.pgh.pa.us>

This inbox is served by agora; see mirroring instructions
for how to clone and mirror all data and code used for this inbox