pg.ddx.io  pgsql-bugs@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Tom Lane <tgl@sss.pgh.pa.us>
To: Michael Paquier <michael.paquier@gmail.com>
Cc: Alvaro Herrera <alvherre@2ndquadrant.com>
Cc: Nelson Page <npage@dynamicsignal.com>
Cc: pgsql-bugs@postgresql.org <pgsql-bugs@postgresql.org>
Subject: Re: BUG #11457: The below query crashes 9.3.5, but not 9.3.4
Date: Mon, 29 Sep 2014 10:06:34 -0400
Message-ID: <11520.1411999594@sss.pgh.pa.us> (raw)
In-Reply-To: <CAB7nPqRr51vK2cxdpQd3LBrHFZGEPGr7LHg_cpVHhnj921kgUQ@mail.gmail.com>
References: <20140920002314.2558.52018@wrigleys.postgresql.org>
	<CAB7nPqS7MXb2ENB=_EB0bwtM92eTbZOFwfz5MvZFy8GpRwuZYQ@mail.gmail.com>
	<4251b913e1464058b8e08d3e625bede3@BN3PR0401MB1265.namprd04.prod.outlook.com>
	<20140923035306.GD5311@eldon.alvh.no-ip.org>
	<5411.1411445043@sss.pgh.pa.us>
	<CAB7nPqQ58v+fNny6D+04fmkT-YAUuo9XU-=nT6HjAWRf+TfaSg@mail.gmail.com>
	<f447dea157014c72a67ebf481de7d047@BN3PR0401MB1265.namprd04.prod.outlook.com>
	<20140926154033.GD5311@eldon.alvh.no-ip.org>
	<7269.1411750638@sss.pgh.pa.us>
	<CAB7nPqRr51vK2cxdpQd3LBrHFZGEPGr7LHg_cpVHhnj921kgUQ@mail.gmail.com>
List-Unsubscribe: <mailto:majordomo@postgresql.org?body=unsub%20pgsql-bugs>

Michael Paquier <michael.paquier@gmail.com> writes:
> On Sat, Sep 27, 2014 at 1:57 AM, Tom Lane <tgl@sss.pgh.pa.us> 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



view thread (16+ messages)  latest in thread

Message-ID: <11520.1411999594@sss.pgh.pa.us>
Permalink:  ../11520.1411999594@sss.pgh.pa.us/
Also on:    postgresql.org/message-id/11520.1411999594@sss.pgh.pa.us

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-bugs@postgresql.org
  Cc: tgl@sss.pgh.pa.us, michael.paquier@gmail.com, alvherre@2ndquadrant.com, npage@dynamicsignal.com
  Subject: Re: BUG #11457: The below query crashes 9.3.5, but not 9.3.4
  In-Reply-To: <11520.1411999594@sss.pgh.pa.us>
  References: <20140920002314.2558.52018@wrigleys.postgresql.org> <CAB7nPqS7MXb2ENB=_EB0bwtM92eTbZOFwfz5MvZFy8GpRwuZYQ@mail.gmail.com> <4251b913e1464058b8e08d3e625bede3@BN3PR0401MB1265.namprd04.prod.outlook.com> <20140923035306.GD5311@eldon.alvh.no-ip.org> <5411.1411445043@sss.pgh.pa.us> <CAB7nPqQ58v+fNny6D+04fmkT-YAUuo9XU-=nT6HjAWRf+TfaSg@mail.gmail.com> <f447dea157014c72a67ebf481de7d047@BN3PR0401MB1265.namprd04.prod.outlook.com> <20140926154033.GD5311@eldon.alvh.no-ip.org> <7269.1411750638@sss.pgh.pa.us> <CAB7nPqRr51vK2cxdpQd3LBrHFZGEPGr7LHg_cpVHhnj921kgUQ@mail.gmail.com> <11520.1411999594@sss.pgh.pa.us>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox