Re: [PATCH] contrib/xml2: xslt_process() should report XSLT-related error details
Robin Haberkorn <haberkorn@b1-systems.de>
From: "Robin Haberkorn" <haberkorn@b1-systems.de>
To: "Tom Lane" <tgl@sss.pgh.pa.us>
Cc: <pgsql-hackers@postgresql.org>
Date: 2025-04-23T21:25:08Z
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
Commits
Same data as JSON:
GET /api/v1/messages/:b64id/commits
the thread's linked commits as JSON, with link sources.
API reference →
-
Fix up misuse of "volatile" in contrib/xml2.
- 93001888d85c 19 (unreleased) cited
-
xml2: Improve error handling of libxml2 calls
- 732061150b00 19 (unreleased) cited
-
Rewrite libxml error handling to be more robust.
- cacd42d62cb2 9.2.0 cited