Re: [PATCH] contrib/xml2: xslt_process() should report XSLT-related error details

From: "Robin Haberkorn" <haberkorn(at)b1-systems(dot)de>
To: "Tom Lane" <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: [PATCH] contrib/xml2: xslt_process() should report XSLT-related error details
Date: 2025-04-23 21:25:08
Message-ID: D9EC31ZN0CUO.VUIDWCZAY13F@b1-systems.de
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On Wed Apr 23, 2025 at 00:42:06 GMT +03, Robin Haberkorn wrote:
> /*
> * Legacy error handling mode. err_occurred is never set, we just add the
> * message to err_buf. This mode exists because the xml2 contrib module
> * uses our error-handling infrastructure, but we don't want to change its
> * behaviour since it's deprecated anyway. This is also why we don't
> * distinguish between notices, warnings and errors here --- the old-style
> * generic error handler wouldn't have done that either.
> */

btw. you wrote that comment in cacd42d62cb2ddf32135b151f627780a5509780f
back in 2011.
The commit message also contains some background information.

--
Robin Haberkorn
Senior Software Engineer

B1 Systems GmbH
Osterfeldstraße 7 / 85088 Vohburg / https://www.b1-systems.de
GF: Ralph Dehner / Unternehmenssitz: Vohburg / AG: Ingolstadt, HRB 3537

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Nathan Bossart 2025-04-23 21:25:41 Re: Large expressions in indexes can't be stored (non-TOASTable)
Previous Message Tom Lane 2025-04-23 21:17:01 Non-reproducible AIO failure