pg.ddx.io  pgsql-hackers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Tom Lane <tgl@sss.pgh.pa.us>
To: Michael Paquier <michael@paquier.xyz>
Cc: Robert Treat <rob@xzilla.net>
Cc: Jim Jones <jim.jones@uni-muenster.de>
Cc: Postgres hackers <pgsql-hackers@lists.postgresql.org>
Cc: Erik Wienhold <ewie@ewie.name>
Subject: Re: Regression with large XML data input
Date: Sun, 27 Jul 2025 22:16:47 -0400
Message-ID: <314265.1753669007@sss.pgh.pa.us> (raw)
In-Reply-To: <aIbb3TOq3XP923e5@paquier.xyz>
References: <aIGknLuc8b8ega2X@paquier.xyz>
	<1569825.1753327718@sss.pgh.pa.us>
	<1685956.1753380629@sss.pgh.pa.us>
	<1691195.1753383449@sss.pgh.pa.us>
	<1721385.1753385039@sss.pgh.pa.us>
	<7a9a9804-01d8-4489-a831-1a222bae6705@uni-muenster.de>
	<aILK3nMlw6pp-XhA@paquier.xyz>
	<CABV9wwOY3pH+pA0R1hSq5g_DXqeDaGWRuoBEE4QwWLfTiw+nKw@mail.gmail.com>
	<1944118.1753467686@sss.pgh.pa.us>
	<aIbb3TOq3XP923e5@paquier.xyz>

Michael Paquier <michael@paquier.xyz> writes:
> On Fri, Jul 25, 2025 at 02:21:26PM -0400, Tom Lane wrote:
>> However, from Jim Jones' result upthread, a "minor update" of libxml2
>> could also have caused this problem: 2.9.7 and 2.9.14 behave
>> differently.  So we don't have sole control --- or sole responsibility
>> --- here.

> This sentence is incorrect after I have double-checked the behaviors I
> am seeing based on local builds of libxml2 2.9.7 and 2.9.14.

Hmm, okay, I misread Jim's results then.  But there still remains
the big question: what reason is there to believe that it's safe
to return to the old behavior?  If newer libxml2 versions report
XML_ERR_RESOURCE_LIMIT on the same input, doesn't it seem likely
that there's a live hazard in the old code?

			regards, tom lane





view thread (36+ messages)  latest in thread

Message-ID: <314265.1753669007@sss.pgh.pa.us>
Permalink:  ../314265.1753669007@sss.pgh.pa.us/
Also on:    postgresql.org/message-id/314265.1753669007@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 using the --to and --cc options:
  reply via email

  To: pgsql-hackers@postgresql.org
  Cc: tgl@sss.pgh.pa.us, michael@paquier.xyz, rob@xzilla.net, jim.jones@uni-muenster.de, pgsql-hackers@lists.postgresql.org, ewie@ewie.name
  Subject: Re: Regression with large XML data input
  In-Reply-To: <314265.1753669007@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