Re: [BUGS] BUG #14584: Segmentation fault importing large XML file - Mailing list pgsql-bugs

From Tom Lane
Subject Re: [BUGS] BUG #14584: Segmentation fault importing large XML file
Date
Msg-id 13992.1489004176@sss.pgh.pa.us
Whole thread Raw
In response to Re: [BUGS] BUG #14584: Segmentation fault importing large XML file  (Jorge Solórzano <jorsol@gmail.com>)
List pgsql-bugs
=?UTF-8?Q?Jorge_Sol=C3=B3rzano?= <jorsol@gmail.com> writes:
> Let's assume that the bug is in libxml2, should postgres crash or should it
> have some kind of protection against it?

There's not much we can do when a library we depend on segfaults.  We have
no way to know what damage has been done, so letting the process crash is
pretty much the only safe option.

            regards, tom lane


-- 
Sent via pgsql-bugs mailing list (pgsql-bugs@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-bugs

pgsql-bugs by date:

Previous
From: Jorge Solórzano
Date:
Subject: Re: [BUGS] BUG #14584: Segmentation fault importing large XML file
Next
From: Matt Magoffin
Date:
Subject: [BUGS] tsvector_update_trigger() fails in 9.6 on character(2) column