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

From Robin Haberkorn
Subject Re: [PATCH] contrib/xml2: xslt_process() should report XSLT-related error details
Date
Msg-id D9EC31ZN0CUO.VUIDWCZAY13F@b1-systems.de
Whole thread Raw
In response to Re: [PATCH] contrib/xml2: xslt_process() should report XSLT-related error details  ("Robin Haberkorn" <haberkorn@b1-systems.de>)
Responses Re: [PATCH] contrib/xml2: xslt_process() should report XSLT-related error details
List 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



pgsql-hackers by date:

Previous
From: Tom Lane
Date:
Subject: Non-reproducible AIO failure
Next
From: Nathan Bossart
Date:
Subject: Re: Large expressions in indexes can't be stored (non-TOASTable)