forked frompostgres/postgres
- Notifications
You must be signed in to change notification settings - Fork6
Commitf68d6aa
committed
Make our back branches compatible with libxml2 2.13.x.
This back-patches HEAD commits066e8ac,6082b3d,e719248,and896cd26 into supported branches. Changes:* Use xmlAddChildList not xmlAddChild in XMLSERIALIZE(affects v16 and up only). This was a flat-out coding mistakethat we got away with due to lax checking in previous versionsof xmlAddChild.* Use xmlParseInNodeContext not xmlParseBalancedChunkMemory.This is to dodge a bug in xmlParseBalancedChunkMemory in libxm2releases 2.13.0-2.13.2. While that bug is now fixed upstream andwill probably never be seen in any production-oriented distro, it iscurrently 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-reportingdiscrepancy between 2.13 and older releases. This error isalmost always redundant with previous errors, if not flat-outinappropriate, which is why 2.13 changed the behavior and whynobody'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-bap25Discussion:https://postgr.es/m/trinity-361ba18b-541a-4fe7-bc63-655ae3a7d599-1720259822452@3c-app-gmx-bs011 parent468b236 commitf68d6aa
3 files changed
+58
-31
lines changedLines changed: 58 additions & 19 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
1544 | 1544 |
| |
1545 | 1545 |
| |
1546 | 1546 |
| |
| 1547 | + | |
1547 | 1548 |
| |
1548 | 1549 |
| |
1549 | 1550 |
| |
1550 | 1551 |
| |
1551 | 1552 |
| |
1552 | 1553 |
| |
1553 | 1554 |
| |
1554 |
| - | |
1555 |
| - | |
1556 |
| - | |
1557 |
| - | |
1558 |
| - | |
1559 | 1555 |
| |
1560 | 1556 |
| |
1561 | 1557 |
| |
| |||
1574 | 1570 |
| |
1575 | 1571 |
| |
1576 | 1572 |
| |
| 1573 | + | |
| 1574 | + | |
| 1575 | + | |
| 1576 | + | |
| 1577 | + | |
| 1578 | + | |
| 1579 | + | |
| 1580 | + | |
| 1581 | + | |
| 1582 | + | |
| 1583 | + | |
| 1584 | + | |
1577 | 1585 |
| |
1578 | 1586 |
| |
1579 |
| - | |
1580 |
| - | |
1581 |
| - | |
1582 |
| - | |
1583 |
| - | |
1584 |
| - | |
1585 |
| - | |
| 1587 | + | |
| 1588 | + | |
| 1589 | + | |
| 1590 | + | |
| 1591 | + | |
1586 | 1592 |
| |
1587 |
| - | |
| 1593 | + | |
1588 | 1594 |
| |
1589 |
| - | |
1590 |
| - | |
| 1595 | + | |
| 1596 | + | |
1591 | 1597 |
| |
1592 | 1598 |
| |
1593 | 1599 |
| |
| |||
1601 | 1607 |
| |
1602 | 1608 |
| |
1603 | 1609 |
| |
| 1610 | + | |
| 1611 | + | |
| 1612 | + | |
1604 | 1613 |
| |
1605 | 1614 |
| |
1606 | 1615 |
| |
1607 | 1616 |
| |
1608 | 1617 |
| |
| 1618 | + | |
| 1619 | + | |
| 1620 | + | |
| 1621 | + | |
| 1622 | + | |
| 1623 | + | |
| 1624 | + | |
1609 | 1625 |
| |
1610 | 1626 |
| |
1611 | 1627 |
| |
1612 |
| - | |
1613 |
| - | |
1614 |
| - | |
| 1628 | + | |
| 1629 | + | |
| 1630 | + | |
| 1631 | + | |
| 1632 | + | |
| 1633 | + | |
| 1634 | + | |
| 1635 | + | |
| 1636 | + | |
| 1637 | + | |
| 1638 | + | |
| 1639 | + | |
1615 | 1640 |
| |
1616 | 1641 |
| |
1617 | 1642 |
| |
| |||
1630 | 1655 |
| |
1631 | 1656 |
| |
1632 | 1657 |
| |
1633 |
| - | |
| 1658 | + | |
| 1659 | + | |
1634 | 1660 |
| |
1635 | 1661 |
| |
1636 | 1662 |
| |
| |||
1811 | 1837 |
| |
1812 | 1838 |
| |
1813 | 1839 |
| |
| 1840 | + | |
| 1841 | + | |
| 1842 | + | |
| 1843 | + | |
| 1844 | + | |
| 1845 | + | |
| 1846 | + | |
| 1847 | + | |
| 1848 | + | |
| 1849 | + | |
| 1850 | + | |
| 1851 | + | |
| 1852 | + | |
1814 | 1853 |
| |
1815 | 1854 |
| |
1816 | 1855 |
| |
|
Lines changed: 0 additions & 9 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
223 | 223 |
| |
224 | 224 |
| |
225 | 225 |
| |
226 |
| - | |
227 |
| - | |
228 |
| - | |
229 | 226 |
| |
230 | 227 |
| |
231 | 228 |
| |
232 | 229 |
| |
233 | 230 |
| |
234 |
| - | |
235 |
| - | |
236 |
| - | |
237 | 231 |
| |
238 | 232 |
| |
239 | 233 |
| |
| |||
252 | 246 |
| |
253 | 247 |
| |
254 | 248 |
| |
255 |
| - | |
256 |
| - | |
257 |
| - | |
258 | 249 |
| |
259 | 250 |
| |
260 | 251 |
| |
|
Lines changed: 0 additions & 3 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
219 | 219 |
| |
220 | 220 |
| |
221 | 221 |
| |
222 |
| - | |
223 | 222 |
| |
224 | 223 |
| |
225 | 224 |
| |
226 | 225 |
| |
227 | 226 |
| |
228 |
| - | |
229 | 227 |
| |
230 | 228 |
| |
231 | 229 |
| |
| |||
244 | 242 |
| |
245 | 243 |
| |
246 | 244 |
| |
247 |
| - | |
248 | 245 |
| |
249 | 246 |
| |
250 | 247 |
| |
|
0 commit comments
Comments
(0)