Hi Chao On 12/11/2026 09:17, Chao Li wrote: > I just have a question. Though libxml2 caches 1000 messages, if PG has to > follow that?
Not necessarily. I just thought it would be a good idea to mimic the limit libxml2 already has in newer versions. Can we just keep the first relevant error? In theory, a much shorter limit would suffice. I realise that 100 looks arbitrary, but somehow deviating from libxml2 here does not feel right either, since it's the authority in many aspects regarding xml handling. But you're right, if we agree on PG_XML_MAX_ERRORS the limit should be open for debate. Thanks! Best, Jim
