forked frompostgres/postgres
- Notifications
You must be signed in to change notification settings - Fork6
Commitf85c91a
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 parent0d483ad commitf85c91a
3 files changed
+66
-36
lines changedLines changed: 66 additions & 24 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
736 | 736 |
| |
737 | 737 |
| |
738 | 738 |
| |
739 |
| - | |
| 739 | + | |
740 | 740 |
| |
741 | 741 |
| |
742 | 742 |
| |
| |||
1675 | 1675 |
| |
1676 | 1676 |
| |
1677 | 1677 |
| |
1678 |
| - | |
1679 |
| - | |
1680 |
| - | |
| 1678 | + | |
| 1679 | + | |
| 1680 | + | |
1681 | 1681 |
| |
1682 | 1682 |
| |
1683 | 1683 |
| |
| |||
1729 | 1729 |
| |
1730 | 1730 |
| |
1731 | 1731 |
| |
| 1732 | + | |
1732 | 1733 |
| |
1733 | 1734 |
| |
1734 | 1735 |
| |
| |||
1737 | 1738 |
| |
1738 | 1739 |
| |
1739 | 1740 |
| |
1740 |
| - | |
1741 |
| - | |
1742 |
| - | |
1743 |
| - | |
1744 |
| - | |
1745 | 1741 |
| |
1746 | 1742 |
| |
1747 | 1743 |
| |
| |||
1764 | 1760 |
| |
1765 | 1761 |
| |
1766 | 1762 |
| |
| 1763 | + | |
| 1764 | + | |
| 1765 | + | |
| 1766 | + | |
| 1767 | + | |
| 1768 | + | |
| 1769 | + | |
| 1770 | + | |
| 1771 | + | |
| 1772 | + | |
| 1773 | + | |
| 1774 | + | |
1767 | 1775 |
| |
1768 | 1776 |
| |
1769 | 1777 |
| |
| |||
1773 | 1781 |
| |
1774 | 1782 |
| |
1775 | 1783 |
| |
1776 |
| - | |
1777 |
| - | |
1778 |
| - | |
1779 |
| - | |
1780 |
| - | |
1781 |
| - | |
1782 |
| - | |
| 1784 | + | |
| 1785 | + | |
| 1786 | + | |
| 1787 | + | |
| 1788 | + | |
1783 | 1789 |
| |
1784 |
| - | |
| 1790 | + | |
1785 | 1791 |
| |
1786 |
| - | |
1787 |
| - | |
| 1792 | + | |
| 1793 | + | |
1788 | 1794 |
| |
1789 | 1795 |
| |
1790 | 1796 |
| |
| |||
1801 | 1807 |
| |
1802 | 1808 |
| |
1803 | 1809 |
| |
| 1810 | + | |
| 1811 | + | |
| 1812 | + | |
1804 | 1813 |
| |
1805 | 1814 |
| |
1806 | 1815 |
| |
| |||
1813 | 1822 |
| |
1814 | 1823 |
| |
1815 | 1824 |
| |
| 1825 | + | |
| 1826 | + | |
| 1827 | + | |
| 1828 | + | |
| 1829 | + | |
| 1830 | + | |
| 1831 | + | |
1816 | 1832 |
| |
1817 | 1833 |
| |
1818 | 1834 |
| |
1819 |
| - | |
1820 |
| - | |
1821 |
| - | |
1822 |
| - | |
| 1835 | + | |
| 1836 | + | |
| 1837 | + | |
| 1838 | + | |
| 1839 | + | |
| 1840 | + | |
| 1841 | + | |
| 1842 | + | |
| 1843 | + | |
| 1844 | + | |
1823 | 1845 |
| |
| 1846 | + | |
1824 | 1847 |
| |
1825 | 1848 |
| |
1826 | 1849 |
| |
1827 | 1850 |
| |
1828 | 1851 |
| |
| 1852 | + | |
| 1853 | + | |
| 1854 | + | |
| 1855 | + | |
| 1856 | + | |
1829 | 1857 |
| |
1830 | 1858 |
| |
1831 | 1859 |
| |
| |||
1845 | 1873 |
| |
1846 | 1874 |
| |
1847 | 1875 |
| |
1848 |
| - | |
| 1876 | + | |
| 1877 | + | |
1849 | 1878 |
| |
1850 | 1879 |
| |
1851 | 1880 |
| |
| |||
2064 | 2093 |
| |
2065 | 2094 |
| |
2066 | 2095 |
| |
| 2096 | + | |
| 2097 | + | |
| 2098 | + | |
| 2099 | + | |
| 2100 | + | |
| 2101 | + | |
| 2102 | + | |
| 2103 | + | |
| 2104 | + | |
| 2105 | + | |
| 2106 | + | |
| 2107 | + | |
| 2108 | + | |
2067 | 2109 |
| |
2068 | 2110 |
| |
2069 | 2111 |
| |
|
Lines changed: 0 additions & 9 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
254 | 254 |
| |
255 | 255 |
| |
256 | 256 |
| |
257 |
| - | |
258 |
| - | |
259 |
| - | |
260 | 257 |
| |
261 | 258 |
| |
262 | 259 |
| |
263 | 260 |
| |
264 | 261 |
| |
265 |
| - | |
266 |
| - | |
267 |
| - | |
268 | 262 |
| |
269 | 263 |
| |
270 | 264 |
| |
| |||
283 | 277 |
| |
284 | 278 |
| |
285 | 279 |
| |
286 |
| - | |
287 |
| - | |
288 |
| - | |
289 | 280 |
| |
290 | 281 |
| |
291 | 282 |
| |
|
Lines changed: 0 additions & 3 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
250 | 250 |
| |
251 | 251 |
| |
252 | 252 |
| |
253 |
| - | |
254 | 253 |
| |
255 | 254 |
| |
256 | 255 |
| |
257 | 256 |
| |
258 | 257 |
| |
259 |
| - | |
260 | 258 |
| |
261 | 259 |
| |
262 | 260 |
| |
| |||
275 | 273 |
| |
276 | 274 |
| |
277 | 275 |
| |
278 |
| - | |
279 | 276 |
| |
280 | 277 |
| |
281 | 278 |
| |
|
0 commit comments
Comments
(0)