Received: from maia.hub.org (maia-5.hub.org [200.46.204.29]) by mail.postgresql.org (Postfix) with ESMTP id A41B41337B49 for ; Mon, 28 Mar 2011 15:05:47 -0300 (ADT) Received: from mail.postgresql.org ([200.46.204.86]) by maia.hub.org (mx1.hub.org [200.46.204.29]) (amavisd-maia, port 10024) with ESMTP id 68873-10 for ; Mon, 28 Mar 2011 18:05:37 +0000 (UTC) X-Greylist: domain auto-whitelisted by SQLgrey-1.7.6 Received: from mail-fx0-f46.google.com (mail-fx0-f46.google.com [209.85.161.46]) by mail.postgresql.org (Postfix) with ESMTP id BD1BC1337B96 for ; Mon, 28 Mar 2011 15:05:36 -0300 (ADT) Received: by fxm17 with SMTP id 17so2874223fxm.19 for ; Mon, 28 Mar 2011 11:05:35 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:from:to:cc:subject:references:date:in-reply-to :message-id:user-agent:mime-version:content-type; bh=90QAZJlIM7RJY87Kxe03bTzxb4BUECVacVscoDLpW34=; b=jIG6JWnR9bI+BEsPtI09v0EmjhEf/p6mL/Rh7McqeAiml57b75LLDbnqcF/YoCyLRq L5se5yoGCeL1SErjKcNP6EddCjTESGcBAISYQNdU5ANir531MhRGfd7WUElDbMOBZvQs wYaT9h3LFVFoHquiB1WIpIX2et5BRW9Ru6F7I= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=from:to:cc:subject:references:date:in-reply-to:message-id :user-agent:mime-version:content-type; b=P3b1FC1jw4AO+ZErhFKl+qNTEg6AjgOuNrxfzZQWJN7bmVFsvdK/eXv03oaHPu0ikS j1wb5o7erc9o+Tq5YQ/5nhxDhjtqLaODDxOC8ltm/WYpLz0lLycwYfwF7N646d1qtiyj MJPJc2HVvOs8pJWU6wcaMv7PRKwB7TNlNSwkQ= Received: by 10.223.143.16 with SMTP id s16mr4949179fau.57.1301335469413; Mon, 28 Mar 2011 11:04:29 -0700 (PDT) Received: from home.progtech.ru (os.progtech.ru [80.252.153.41]) by mx.google.com with ESMTPS id c24sm1622068fak.7.2011.03.28.11.04.26 (version=TLSv1/SSLv3 cipher=OTHER); Mon, 28 Mar 2011 11:04:27 -0700 (PDT) From: Sergey Burladyan To: Tom Lane Cc: "alex" , pgsql-bugs@postgresql.org Subject: Re: BUG #5950: backend terminating after altering table References: <201103251337.p2PDbtWQ053513@wwwmaster.postgresql.org> <4619.1301067022@sss.pgh.pa.us> Date: Mon, 28 Mar 2011 22:04:25 +0400 In-Reply-To: <4619.1301067022@sss.pgh.pa.us> (Tom Lane's message of "Fri, 25 Mar 2011 11:30:22 -0400") Message-ID: <87wrjj86l2.fsf@home.progtech.ru> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.2 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Virus-Scanned: Maia Mailguard 1.0.1 X-Spam-Status: No, hits=0.372 tagged_above=-5 required=5 tests=BAYES_00=-1.9, FREEMAIL_FROM=0.001, FSL_RU_URL=2.271 X-Spam-Level: X-Archive-Number: 201103/362 X-Sequence-Number: 29872 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): 1. create table t (); alter table t add childs t; create table selfchield_new (like t); 2. create table t (); alter table t add childs t; create table selfchield_new as select * from t; I have segmentation fault with current master 7c7fd882. -- Sergey Burladyan