pg.ddx.io pgsql-committers@postgresql.org mailing list archivehelp / color / mirror / Atom feed
pgsql: Make our back branches compatible with libxml2 2.13.x. 6+ messages / 1 participants [nested] [flat]
* pgsql: Make our back branches compatible with libxml2 2.13.x. @ 2024-07-11 00:16 Tom Lane <tgl@sss.pgh.pa.us> 0 siblings, 0 replies; 6+ messages in thread From: Tom Lane @ 2024-07-11 00:16 UTC (permalink / raw) To: pgsql-committers@lists.postgresql.org Make our back branches compatible with libxml2 2.13.x. This back-patches HEAD commits 066e8ac6e, 6082b3d5d, e7192486d, and 896cd266f into supported branches. Changes: * Use xmlAddChildList not xmlAddChild in XMLSERIALIZE (affects v16 and up only). This was a flat-out coding mistake that we got away with due to lax checking in previous versions of xmlAddChild. * Use xmlParseInNodeContext not xmlParseBalancedChunkMemory. This is to dodge a bug in xmlParseBalancedChunkMemory in libxm2 releases 2.13.0-2.13.2. While that bug is now fixed upstream and will probably never be seen in any production-oriented distro, it is currently a problem on some more-bleeding-edge-friendly platforms. * Suppress "chunk is not well balanced" errors from libxml2, unless it is the only error. This eliminates an error-reporting discrepancy between 2.13 and older releases. This error is almost always redundant with previous errors, if not flat-out inappropriate, which is why 2.13 changed the behavior and why nobody's likely to miss it. Erik Wienhold and Tom Lane, per report from Frank Streitzig. Discussion: https://postgr.es/m/trinity-b0161630-d230-4598-9ebc-7a23acdb37cb-1720186432160@3c-app-gmx-bap25 Discussion: https://postgr.es/m/trinity-361ba18b-541a-4fe7-bc63-655ae3a7d599-1720259822452@3c-app-gmx-bs01 Branch ------ REL_13_STABLE Details ------- https://git.postgresql.org/pg/commitdiff/48132587d9bc752ec5d35f3a6369b83b3722e423 Modified Files -------------- src/backend/utils/adt/xml.c | 77 ++++++++++++++++++++++++++++--------- src/test/regress/expected/xml.out | 9 ----- src/test/regress/expected/xml_2.out | 3 -- 3 files changed, 58 insertions(+), 31 deletions(-) ^ permalink raw reply [nested|flat] 6+ messages in thread
* pgsql: Make our back branches compatible with libxml2 2.13.x. @ 2024-07-11 00:16 Tom Lane <tgl@sss.pgh.pa.us> 0 siblings, 0 replies; 6+ messages in thread From: Tom Lane @ 2024-07-11 00:16 UTC (permalink / raw) To: pgsql-committers@lists.postgresql.org Make our back branches compatible with libxml2 2.13.x. This back-patches HEAD commits 066e8ac6e, 6082b3d5d, e7192486d, and 896cd266f into supported branches. Changes: * Use xmlAddChildList not xmlAddChild in XMLSERIALIZE (affects v16 and up only). This was a flat-out coding mistake that we got away with due to lax checking in previous versions of xmlAddChild. * Use xmlParseInNodeContext not xmlParseBalancedChunkMemory. This is to dodge a bug in xmlParseBalancedChunkMemory in libxm2 releases 2.13.0-2.13.2. While that bug is now fixed upstream and will probably never be seen in any production-oriented distro, it is currently a problem on some more-bleeding-edge-friendly platforms. * Suppress "chunk is not well balanced" errors from libxml2, unless it is the only error. This eliminates an error-reporting discrepancy between 2.13 and older releases. This error is almost always redundant with previous errors, if not flat-out inappropriate, which is why 2.13 changed the behavior and why nobody's likely to miss it. Erik Wienhold and Tom Lane, per report from Frank Streitzig. Discussion: https://postgr.es/m/trinity-b0161630-d230-4598-9ebc-7a23acdb37cb-1720186432160@3c-app-gmx-bap25 Discussion: https://postgr.es/m/trinity-361ba18b-541a-4fe7-bc63-655ae3a7d599-1720259822452@3c-app-gmx-bs01 Branch ------ REL_17_STABLE Details ------- https://git.postgresql.org/pg/commitdiff/a9747be272889833958ec6d93e3034baab569d2f Modified Files -------------- src/backend/utils/adt/xml.c | 90 +++++++++++++++++++++++++++---------- src/test/regress/expected/xml.out | 9 ---- src/test/regress/expected/xml_2.out | 3 -- 3 files changed, 66 insertions(+), 36 deletions(-) ^ permalink raw reply [nested|flat] 6+ messages in thread
* pgsql: Make our back branches compatible with libxml2 2.13.x. @ 2024-07-11 00:16 Tom Lane <tgl@sss.pgh.pa.us> 0 siblings, 0 replies; 6+ messages in thread From: Tom Lane @ 2024-07-11 00:16 UTC (permalink / raw) To: pgsql-committers@lists.postgresql.org Make our back branches compatible with libxml2 2.13.x. This back-patches HEAD commits 066e8ac6e, 6082b3d5d, e7192486d, and 896cd266f into supported branches. Changes: * Use xmlAddChildList not xmlAddChild in XMLSERIALIZE (affects v16 and up only). This was a flat-out coding mistake that we got away with due to lax checking in previous versions of xmlAddChild. * Use xmlParseInNodeContext not xmlParseBalancedChunkMemory. This is to dodge a bug in xmlParseBalancedChunkMemory in libxm2 releases 2.13.0-2.13.2. While that bug is now fixed upstream and will probably never be seen in any production-oriented distro, it is currently a problem on some more-bleeding-edge-friendly platforms. * Suppress "chunk is not well balanced" errors from libxml2, unless it is the only error. This eliminates an error-reporting discrepancy between 2.13 and older releases. This error is almost always redundant with previous errors, if not flat-out inappropriate, which is why 2.13 changed the behavior and why nobody's likely to miss it. Erik Wienhold and Tom Lane, per report from Frank Streitzig. Discussion: https://postgr.es/m/trinity-b0161630-d230-4598-9ebc-7a23acdb37cb-1720186432160@3c-app-gmx-bap25 Discussion: https://postgr.es/m/trinity-361ba18b-541a-4fe7-bc63-655ae3a7d599-1720259822452@3c-app-gmx-bs01 Branch ------ REL_14_STABLE Details ------- https://git.postgresql.org/pg/commitdiff/475e1807c20f5b20fd670bd9218e3d3e6c11be6b Modified Files -------------- src/backend/utils/adt/xml.c | 77 ++++++++++++++++++++++++++++--------- src/test/regress/expected/xml.out | 9 ----- src/test/regress/expected/xml_2.out | 3 -- 3 files changed, 58 insertions(+), 31 deletions(-) ^ permalink raw reply [nested|flat] 6+ messages in thread
* pgsql: Make our back branches compatible with libxml2 2.13.x. @ 2024-07-11 00:16 Tom Lane <tgl@sss.pgh.pa.us> 0 siblings, 0 replies; 6+ messages in thread From: Tom Lane @ 2024-07-11 00:16 UTC (permalink / raw) To: pgsql-committers@lists.postgresql.org Make our back branches compatible with libxml2 2.13.x. This back-patches HEAD commits 066e8ac6e, 6082b3d5d, e7192486d, and 896cd266f into supported branches. Changes: * Use xmlAddChildList not xmlAddChild in XMLSERIALIZE (affects v16 and up only). This was a flat-out coding mistake that we got away with due to lax checking in previous versions of xmlAddChild. * Use xmlParseInNodeContext not xmlParseBalancedChunkMemory. This is to dodge a bug in xmlParseBalancedChunkMemory in libxm2 releases 2.13.0-2.13.2. While that bug is now fixed upstream and will probably never be seen in any production-oriented distro, it is currently a problem on some more-bleeding-edge-friendly platforms. * Suppress "chunk is not well balanced" errors from libxml2, unless it is the only error. This eliminates an error-reporting discrepancy between 2.13 and older releases. This error is almost always redundant with previous errors, if not flat-out inappropriate, which is why 2.13 changed the behavior and why nobody's likely to miss it. Erik Wienhold and Tom Lane, per report from Frank Streitzig. Discussion: https://postgr.es/m/trinity-b0161630-d230-4598-9ebc-7a23acdb37cb-1720186432160@3c-app-gmx-bap25 Discussion: https://postgr.es/m/trinity-361ba18b-541a-4fe7-bc63-655ae3a7d599-1720259822452@3c-app-gmx-bs01 Branch ------ REL_12_STABLE Details ------- https://git.postgresql.org/pg/commitdiff/a134baea7ab0cc907b9d9d3d16f9ac97ec8200be Modified Files -------------- src/backend/utils/adt/xml.c | 77 ++++++++++++++++++++++++++++--------- src/test/regress/expected/xml.out | 9 ----- src/test/regress/expected/xml_2.out | 3 -- 3 files changed, 58 insertions(+), 31 deletions(-) ^ permalink raw reply [nested|flat] 6+ messages in thread
* pgsql: Make our back branches compatible with libxml2 2.13.x. @ 2024-07-11 00:16 Tom Lane <tgl@sss.pgh.pa.us> 0 siblings, 0 replies; 6+ messages in thread From: Tom Lane @ 2024-07-11 00:16 UTC (permalink / raw) To: pgsql-committers@lists.postgresql.org Make our back branches compatible with libxml2 2.13.x. This back-patches HEAD commits 066e8ac6e, 6082b3d5d, e7192486d, and 896cd266f into supported branches. Changes: * Use xmlAddChildList not xmlAddChild in XMLSERIALIZE (affects v16 and up only). This was a flat-out coding mistake that we got away with due to lax checking in previous versions of xmlAddChild. * Use xmlParseInNodeContext not xmlParseBalancedChunkMemory. This is to dodge a bug in xmlParseBalancedChunkMemory in libxm2 releases 2.13.0-2.13.2. While that bug is now fixed upstream and will probably never be seen in any production-oriented distro, it is currently a problem on some more-bleeding-edge-friendly platforms. * Suppress "chunk is not well balanced" errors from libxml2, unless it is the only error. This eliminates an error-reporting discrepancy between 2.13 and older releases. This error is almost always redundant with previous errors, if not flat-out inappropriate, which is why 2.13 changed the behavior and why nobody's likely to miss it. Erik Wienhold and Tom Lane, per report from Frank Streitzig. Discussion: https://postgr.es/m/trinity-b0161630-d230-4598-9ebc-7a23acdb37cb-1720186432160@3c-app-gmx-bap25 Discussion: https://postgr.es/m/trinity-361ba18b-541a-4fe7-bc63-655ae3a7d599-1720259822452@3c-app-gmx-bs01 Branch ------ REL_15_STABLE Details ------- https://git.postgresql.org/pg/commitdiff/f68d6aabb7e2c803818185b49a3d356bdb2b2974 Modified Files -------------- src/backend/utils/adt/xml.c | 77 ++++++++++++++++++++++++++++--------- src/test/regress/expected/xml.out | 9 ----- src/test/regress/expected/xml_2.out | 3 -- 3 files changed, 58 insertions(+), 31 deletions(-) ^ permalink raw reply [nested|flat] 6+ messages in thread
* pgsql: Make our back branches compatible with libxml2 2.13.x. @ 2024-07-11 00:16 Tom Lane <tgl@sss.pgh.pa.us> 0 siblings, 0 replies; 6+ messages in thread From: Tom Lane @ 2024-07-11 00:16 UTC (permalink / raw) To: pgsql-committers@lists.postgresql.org Make our back branches compatible with libxml2 2.13.x. This back-patches HEAD commits 066e8ac6e, 6082b3d5d, e7192486d, and 896cd266f into supported branches. Changes: * Use xmlAddChildList not xmlAddChild in XMLSERIALIZE (affects v16 and up only). This was a flat-out coding mistake that we got away with due to lax checking in previous versions of xmlAddChild. * Use xmlParseInNodeContext not xmlParseBalancedChunkMemory. This is to dodge a bug in xmlParseBalancedChunkMemory in libxm2 releases 2.13.0-2.13.2. While that bug is now fixed upstream and will probably never be seen in any production-oriented distro, it is currently a problem on some more-bleeding-edge-friendly platforms. * Suppress "chunk is not well balanced" errors from libxml2, unless it is the only error. This eliminates an error-reporting discrepancy between 2.13 and older releases. This error is almost always redundant with previous errors, if not flat-out inappropriate, which is why 2.13 changed the behavior and why nobody's likely to miss it. Erik Wienhold and Tom Lane, per report from Frank Streitzig. Discussion: https://postgr.es/m/trinity-b0161630-d230-4598-9ebc-7a23acdb37cb-1720186432160@3c-app-gmx-bap25 Discussion: https://postgr.es/m/trinity-361ba18b-541a-4fe7-bc63-655ae3a7d599-1720259822452@3c-app-gmx-bs01 Branch ------ REL_16_STABLE Details ------- https://git.postgresql.org/pg/commitdiff/f85c91a1867b45742bb28e4578ca2b4a0976383f Modified Files -------------- src/backend/utils/adt/xml.c | 90 +++++++++++++++++++++++++++---------- src/test/regress/expected/xml.out | 9 ---- src/test/regress/expected/xml_2.out | 3 -- 3 files changed, 66 insertions(+), 36 deletions(-) ^ permalink raw reply [nested|flat] 6+ messages in thread
end of thread, other threads:[~2024-07-11 00:16 UTC | newest] Thread overview: 6+ messages (download: mbox mbox.gz follow: Atom feed) -- links below jump to the message on this page -- 2024-07-11 00:16 pgsql: Make our back branches compatible with libxml2 2.13.x. Tom Lane <tgl@sss.pgh.pa.us> 2024-07-11 00:16 pgsql: Make our back branches compatible with libxml2 2.13.x. Tom Lane <tgl@sss.pgh.pa.us> 2024-07-11 00:16 pgsql: Make our back branches compatible with libxml2 2.13.x. Tom Lane <tgl@sss.pgh.pa.us> 2024-07-11 00:16 pgsql: Make our back branches compatible with libxml2 2.13.x. Tom Lane <tgl@sss.pgh.pa.us> 2024-07-11 00:16 pgsql: Make our back branches compatible with libxml2 2.13.x. Tom Lane <tgl@sss.pgh.pa.us> 2024-07-11 00:16 pgsql: Make our back branches compatible with libxml2 2.13.x. Tom Lane <tgl@sss.pgh.pa.us>
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