Re: BUG #15420: Server crash. Segmentation fault when parsing xml file - Mailing list pgsql-bugs

From Pavel Stehule
Subject Re: BUG #15420: Server crash. Segmentation fault when parsing xml file
Date
Msg-id CAFj8pRBV82AMYMYi+C0BEXVM3Zd_YqVqfmo09JJ0sfhHdLyHbw@mail.gmail.com
Whole thread Raw
In response to Re: BUG #15420: Server crash. Segmentation fault when parsing xml file  (Sergey Mirvoda <sergey@mirvoda.com>)
List pgsql-bugs


pá 5. 10. 2018 v 16:33 odesílatel Sergey Mirvoda <sergey@mirvoda.com> napsal:


On Fri, Oct 5, 2018 at 7:00 PM Tom Lane <tgl@sss.pgh.pa.us> wrote:
Should we be officially deprecating XML facilities and telling people
to head towards JSON?  There at least we have control of the quality
of implementation ...

                        regards, tom lane

I believe MS SQL Server guys chosen JSON path some years ago.
XML performance in SQL Server looks very deprecated.
Actually we tried to load our data into MS SQL at first, but performance was below our needs even with xml index.

The bugs of libxml2 are unpleasant, on second hand, this library is fast and almost time works well. One our benefit against other open source databases is good XML support - and it cannot be replaced by JSON support.

Anybody who prefer absolute safety can use PostgreSQL without XML support. We don't hide fact so we use libxml2, and anybody can check reputation of libxml2

More - fresh libxml2 - 2.9.8 doesn't crash - so maybe this bug was fixed.

Regards

Pavel


--
--Regards, Sergey Mirvoda

pgsql-bugs by date:

Previous
From: Sergey Mirvoda
Date:
Subject: Re: BUG #15420: Server crash. Segmentation fault when parsing xml file
Next
From: Andrew Gierth
Date:
Subject: Re: BUG #15420: Server crash. Segmentation fault when parsing xml file