Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1XYbbG-0003Mn-Ot for pgsql-bugs@arkaria.postgresql.org; Mon, 29 Sep 2014 14:06:50 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.80) (envelope-from ) id 1XYbbG-0002RT-1o for pgsql-bugs@arkaria.postgresql.org; Mon, 29 Sep 2014 14:06:50 +0000 Received: from makus.postgresql.org ([2001:4800:1501:1::229]) by malur.postgresql.org with esmtps (TLS1.2:DHE_RSA_AES_256_CBC_SHA256:256) (Exim 4.80) (envelope-from ) id 1XYbbE-0002R0-Vv for pgsql-bugs@postgresql.org; Mon, 29 Sep 2014 14:06:49 +0000 Received: from sss.pgh.pa.us ([66.207.139.130]) by makus.postgresql.org with esmtps (TLS1.2:DHE_RSA_AES_256_CBC_SHA256:256) (Exim 4.80) (envelope-from ) id 1XYbbB-0008Cd-1g for pgsql-bugs@postgresql.org; Mon, 29 Sep 2014 14:06:46 +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 s8TE6Ykk011521; Mon, 29 Sep 2014 10:06:34 -0400 From: Tom Lane To: Michael Paquier cc: Alvaro Herrera , Nelson Page , "pgsql-bugs@postgresql.org" Subject: Re: BUG #11457: The below query crashes 9.3.5, but not 9.3.4 In-reply-to: References: <20140920002314.2558.52018@wrigleys.postgresql.org> <4251b913e1464058b8e08d3e625bede3@BN3PR0401MB1265.namprd04.prod.outlook.com> <20140923035306.GD5311@eldon.alvh.no-ip.org> <5411.1411445043@sss.pgh.pa.us> <20140926154033.GD5311@eldon.alvh.no-ip.org> <7269.1411750638@sss.pgh.pa.us> Comments: In-reply-to Michael Paquier message dated "Mon, 29 Sep 2014 16:51:49 +0900" Date: Mon, 29 Sep 2014 10:06:34 -0400 Message-ID: <11520.1411999594@sss.pgh.pa.us> X-Pg-Spam-Score: -2.7 (--) 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 Michael Paquier writes: > On Sat, Sep 27, 2014 at 1:57 AM, Tom Lane wrote: >> We could probably hack solutions to these problems without changing the >> AppendRelInfo data structures, but I'm wondering if it wouldn't be a good >> idea to redefine them or at least add more fields to make it easier to >> work with multi-level appendrel ancestry. > Hm. Something like oldest_parent_reltype and oldest_parent_relid when > defining it? IMHO it would be nice to avoid simple hacks if possible but is > changing AppendRelInfo really something back-patchable at this point? It seems unlikely that any extensions are creating these structs for themselves. So I think we could safely add fields at the end in back branches. We've done that before in other planner structs. 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