Received: from maia.hub.org (maia-2.hub.org [200.46.204.251]) by mail.postgresql.org (Postfix) with ESMTP id 93F8E1337B49 for ; Mon, 28 Mar 2011 15:15:59 -0300 (ADT) Received: from mail.postgresql.org ([200.46.204.86]) by maia.hub.org (mx1.hub.org [200.46.204.251]) (amavisd-maia, port 10024) with ESMTP id 14552-10 for ; Mon, 28 Mar 2011 18:15:41 +0000 (UTC) X-Greylist: from auto-whitelisted by SQLgrey-1.7.6 Received: from sss.pgh.pa.us (sss.pgh.pa.us [66.207.139.130]) by mail.postgresql.org (Postfix) with ESMTP id 139421337B93 for ; Mon, 28 Mar 2011 15:15:40 -0300 (ADT) Received: from sss2.sss.pgh.pa.us (tgl@localhost [127.0.0.1]) by sss.pgh.pa.us (8.14.2/8.14.2) with ESMTP id p2SIFdYj023850; Mon, 28 Mar 2011 14:15:39 -0400 (EDT) To: Sergey Burladyan cc: "alex" , pgsql-bugs@postgresql.org Subject: Re: BUG #5950: backend terminating after altering table In-reply-to: <87wrjj86l2.fsf@home.progtech.ru> References: <201103251337.p2PDbtWQ053513@wwwmaster.postgresql.org> <4619.1301067022@sss.pgh.pa.us> <87wrjj86l2.fsf@home.progtech.ru> Comments: In-reply-to Sergey Burladyan message dated "Mon, 28 Mar 2011 22:04:25 +0400" Date: Mon, 28 Mar 2011 14:15:39 -0400 Message-ID: <23848.1301336139@sss.pgh.pa.us> From: Tom Lane X-Virus-Scanned: Maia Mailguard 1.0.1 X-Spam-Status: No, hits=0.361 tagged_above=-5 required=5 tests=BAYES_00=-1.9, FSL_RU_URL=2.271, T_RP_MATCHES_RCVD=-0.01 X-Spam-Level: X-Archive-Number: 201103/363 X-Sequence-Number: 29873 Sergey Burladyan writes: > Tom Lane writes: >> "alex" writes: >>> 1. create table t ( >>> ); >>> 2. alter table t add childs t; >>> 3. alter table t add id serial not null primary key; >>> server closed the connection unexpectedly >> Hmm. This seems to be fixed in HEAD: > Not fully. There are also two cases with Segmentation fault > (from sql.ru forum): Yeah, I had already come to the conclusion that it was just luck that HEAD avoids the specific problem. See http://archives.postgresql.org/pgsql-hackers/2011-03/msg01673.php regards, tom lane