Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.96) (envelope-from ) id 1wgOcA-006A7P-2L for pgsql-hackers@arkaria.postgresql.org; Sun, 05 Jul 2026 15:18:38 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.96) (envelope-from ) id 1wgOc9-00CIio-1v for pgsql-hackers@arkaria.postgresql.org; Sun, 05 Jul 2026 15:18:37 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.96) (envelope-from ) id 1wgOc9-00CIig-10 for pgsql-hackers@lists.postgresql.org; Sun, 05 Jul 2026 15:18:37 +0000 Received: from sss.pgh.pa.us ([68.162.161.243]) by magus.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.98.2) (envelope-from ) id 1wgOc7-00000001syF-18dQ for pgsql-hackers@lists.postgresql.org; Sun, 05 Jul 2026 15:18:37 +0000 Received: from sss1.sss.pgh.pa.us (localhost [127.0.0.1]) by sss.pgh.pa.us (8.18.1/8.18.1) with ESMTP id 665FISB0754535; Sun, 5 Jul 2026 11:18:28 -0400 From: Tom Lane To: David Rowley cc: Peter Eisentraut , PostgreSQL Developers Subject: Re: Fixing MSVC's inability to detect elog(ERROR) does not return In-reply-to: References: Comments: In-reply-to David Rowley message dated "Sat, 27 Sep 2025 22:43:13 +1200" MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-ID: <754533.1783264708.1@sss.pgh.pa.us> Date: Sun, 05 Jul 2026 11:18:28 -0400 Message-ID: <754534.1783264708@sss.pgh.pa.us> List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk David Rowley writes: > Now pushed and awaiting buildfarm feedback. 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? It seems like we should keep those looking alike. regards, tom lane