agora inbox for pgsql-committers@postgresql.org  
help / color / mirror / Atom feed
From: Tom Lane <tgl@sss.pgh.pa.us>
To: pgsql-committers@lists.postgresql.org
Subject: pgsql: Make PLy_elog() use pg_integer_constant_p().
Date: Mon, 06 Jul 2026 17:48:47 +0000
Message-ID: <E1wgnR2-001ceZ-01@gemulon.postgresql.org> (raw)

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



view thread (2+ messages)

Message-ID: <E1wgnR2-001ceZ-01@gemulon.postgresql.org>
Permalink:  ../E1wgnR2-001ceZ-01@gemulon.postgresql.org/
Also on:    postgresql.org/message-id/E1wgnR2-001ceZ-01@gemulon.postgresql.org

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: pgsql-committers@postgresql.org
  Cc: tgl@sss.pgh.pa.us, pgsql-committers@lists.postgresql.org
  Subject: Re: pgsql: Make PLy_elog() use pg_integer_constant_p().
  In-Reply-To: <E1wgnR2-001ceZ-01@gemulon.postgresql.org>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

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