Re: BUG #14584: Segmentation fault importing large XML file

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Jorge Solórzano <jorsol(at)gmail(dot)com>
Cc: Pavel Stehule <pavel(dot)stehule(at)gmail(dot)com>, "pgsql-bugs(at)postgresql(dot)org" <pgsql-bugs(at)postgresql(dot)org>
Subject: Re: BUG #14584: Segmentation fault importing large XML file
Date: 2017-03-08 20:16:16
Message-ID: 13992.1489004176@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-bugs

=?UTF-8?Q?Jorge_Sol=C3=B3rzano?= <jorsol(at)gmail(dot)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

In response to

Browse pgsql-bugs by date

  From Date Subject
Next Message Matt Magoffin 2017-03-09 03:17:50 tsvector_update_trigger() fails in 9.6 on character(2) column
Previous Message Jorge Solórzano 2017-03-08 20:02:06 Re: BUG #14584: Segmentation fault importing large XML file