Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.84_2) (envelope-from ) id 1cli1A-0001jj-3e for pgsql-bugs@arkaria.postgresql.org; Wed, 08 Mar 2017 20:17:04 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.84_2) (envelope-from ) id 1cli19-0005rA-Mj for pgsql-bugs@arkaria.postgresql.org; Wed, 08 Mar 2017 20:17:03 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1cli0S-0004eC-Ly for pgsql-bugs@postgresql.org; Wed, 08 Mar 2017 20:16:20 +0000 Received: from sss.pgh.pa.us ([66.207.139.130]) by magus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1cli0Q-0003Fv-Bk for pgsql-bugs@postgresql.org; Wed, 08 Mar 2017 20:16:20 +0000 Received: from sss1.sss.pgh.pa.us (localhost [127.0.0.1]) by sss.pgh.pa.us (8.14.4/8.14.4) with ESMTP id v28KGGHC013993; Wed, 8 Mar 2017 15:16:16 -0500 From: Tom Lane To: =?UTF-8?Q?Jorge_Sol=C3=B3rzano?= cc: Pavel Stehule , "pgsql-bugs@postgresql.org" Subject: Re: BUG #14584: Segmentation fault importing large XML file In-reply-to: References: <20170308190209.25050.13160@wrigleys.postgresql.org> <13153.1489002877@sss.pgh.pa.us> Comments: In-reply-to =?UTF-8?Q?Jorge_Sol=C3=B3rzano?= message dated "Wed, 08 Mar 2017 14:02:06 -0600" MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-ID: <13991.1489004176.1@sss.pgh.pa.us> Date: Wed, 08 Mar 2017 15:16:16 -0500 Message-ID: <13992.1489004176@sss.pgh.pa.us> X-Pg-Spam-Score: -1.9 (-) List-Archive: List-Help: List-ID: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: X-Mailing-List: pgsql-bugs Precedence: bulk Sender: pgsql-bugs-owner@postgresql.org =?UTF-8?Q?Jorge_Sol=C3=B3rzano?= 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