Re: Regression with large XML data input
От | Tom Lane |
---|---|
Тема | Re: Regression with large XML data input |
Дата | |
Msg-id | 1569825.1753327718@sss.pgh.pa.us обсуждение исходный текст |
Ответ на | Regression with large XML data input (Michael Paquier <michael@paquier.xyz>) |
Ответы |
Re: Regression with large XML data input
Re: Regression with large XML data input |
Список | pgsql-hackers |
Michael Paquier <michael@paquier.xyz> writes: > A customer has reported a regression with the parsing of rather large > XML data, introduced by the set of backpatches done with f68d6aabb7e2 > & friends. Bleah. > Switching back to the previous code, where we rely on > xmlParseBalancedChunkMemory() fixes the issue. Yeah, just reverting these commits might be an acceptable answer, since the main point was to work around a bleeding-edge bug: >> * Early 2.13.x releases of libxml2 contain a bug that causes >> xmlParseBalancedChunkMemory to return the wrong status value in some >> cases. This breaks our regression tests. 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. Presumably that problem is now gone, a year later. The other point about >> * xmlParseBalancedChunkMemory is considered to depend on libxml2's >> semi-deprecated SAX1 APIs, and will go away when and if they do. is still hypothetical I think. But we might want to keep this bit: >> While here, avoid allocating an xmlParserCtxt in DOCUMENT parse mode, >> since that code path is not going to use it. regards, tom lane
В списке pgsql-hackers по дате отправления: