pg.ddx.io  pgsql-hackers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Tom Lane <tgl@sss.pgh.pa.us>
To: David Rowley <dgrowleyml@gmail.com>
Cc: Peter Eisentraut <peter@eisentraut.org>
Cc: PostgreSQL Developers <pgsql-hackers@lists.postgresql.org>
Subject: Re: Fixing MSVC's inability to detect elog(ERROR) does not return
Date: Sun, 05 Jul 2026 18:15:31 -0400
Message-ID: <899795.1783289731@sss.pgh.pa.us> (raw)
In-Reply-To: <CAApHDvr2+Gc5uuE3LvQqF4U3OoQLWkxSH7hhVUttz9fpAQ5iyA@mail.gmail.com>
References: <CAApHDvom02B_XNVSkvxznVUyZbjGAR+5myA89ZcbEd3=PA9UcA@mail.gmail.com>
	<d38be90a-3e7a-42e0-a844-a7a122392c7e@eisentraut.org>
	<CAApHDvpZyaTcyjrQ0cYxusJe6M=6QrmfZHue=Q1=7+ZpWymHHA@mail.gmail.com>
	<a92097fa-a7e3-406b-a160-4988e690c6ca@eisentraut.org>
	<CAApHDvojMx2YEemTp8qVD6VCQkJN6PSW_naFrSVZTyeSGtYbNg@mail.gmail.com>
	<CAApHDvqpJyaquYyasjeWV3Coa1C9Z=HE-iERCpJXnUJcYa0G8A@mail.gmail.com>
	<754534.1783264708@sss.pgh.pa.us>
	<CAApHDvr2+Gc5uuE3LvQqF4U3OoQLWkxSH7hhVUttz9fpAQ5iyA@mail.gmail.com>

David Rowley <dgrowleyml@gmail.com> writes:
> On Mon, 6 Jul 2026 at 03:18, Tom Lane <tgl@sss.pgh.pa.us> wrote:
>> It came to my attention just now that 59c2f03d1 adjusted ereport()
>> to be MSVC-friendly, but did not touch plpy_elog.h's PLy_elog(),
>> which has a borrowed copy of the same logic.  Was that intentional?

> That was unintentional and caused by my unawareness of that version of
> the macro.

>> It seems like we should keep those looking alike.

> Agreed.

Cool.  You wanna fix it, or shall I?

			regards, tom lane





view thread (20+ messages)  latest in thread

Message-ID: <899795.1783289731@sss.pgh.pa.us>
Permalink:  ../899795.1783289731@sss.pgh.pa.us/
Also on:    postgresql.org/message-id/899795.1783289731@sss.pgh.pa.us

 · 

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 from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-hackers@postgresql.org
  Cc: tgl@sss.pgh.pa.us, dgrowleyml@gmail.com, peter@eisentraut.org
  Subject: Re: Fixing MSVC's inability to detect elog(ERROR) does not return
  In-Reply-To: <899795.1783289731@sss.pgh.pa.us>
  References: <CAApHDvom02B_XNVSkvxznVUyZbjGAR+5myA89ZcbEd3=PA9UcA@mail.gmail.com> <d38be90a-3e7a-42e0-a844-a7a122392c7e@eisentraut.org> <CAApHDvpZyaTcyjrQ0cYxusJe6M=6QrmfZHue=Q1=7+ZpWymHHA@mail.gmail.com> <a92097fa-a7e3-406b-a160-4988e690c6ca@eisentraut.org> <CAApHDvojMx2YEemTp8qVD6VCQkJN6PSW_naFrSVZTyeSGtYbNg@mail.gmail.com> <CAApHDvqpJyaquYyasjeWV3Coa1C9Z=HE-iERCpJXnUJcYa0G8A@mail.gmail.com> <754534.1783264708@sss.pgh.pa.us> <CAApHDvr2+Gc5uuE3LvQqF4U3OoQLWkxSH7hhVUttz9fpAQ5iyA@mail.gmail.com> <899795.1783289731@sss.pgh.pa.us>

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

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