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: Pavel Stehule <pavel.stehule@gmail.com>
Cc: Pavel HanĂ¡k <hanak@is-it.eu>
Cc: pgsql-bugs@postgresql.org <pgsql-bugs@postgresql.org>
Subject: Re: Problems with "pg.dropped" column after upgrade 9.5 to 9.6
Date: Wed, 02 Nov 2016 09:17:43 -0400
Message-ID: <9842.1478092663@sss.pgh.pa.us> (raw)
In-Reply-To: <CAB7nPqQ7zjN78nWvFfG7tk0DdtMvPnR9_+xA68F4nwpRiStnaw@mail.gmail.com>
References: <83shraampf.fsf@is-it.eu>
	<CAFj8pRBRD0=PUkhNBf4AKCpT50jst8mZ9vLhhnMpM5mZPYY2FQ@mail.gmail.com>
	<CAB7nPqSTExy8rf_j7pQN5Zn-SCvFFNA48OKGREyHvNzebpxNew@mail.gmail.com>
	<CAB7nPqQ7zjN78nWvFfG7tk0DdtMvPnR9_+xA68F4nwpRiStnaw@mail.gmail.com>
List-Unsubscribe: <mailto:majordomo@postgresql.org?body=unsub%20pgsql-bugs>

Michael Paquier <michael.paquier@gmail.com> writes:
> And one bisect later:
> commit: 3fc6e2d7f5b652b417fa6937c34de2438d60fa9f
> author: Tom Lane <tgl@sss.pgh.pa.us>
> date: Mon, 7 Mar 2016 15:58:22 -0500
> Make the upper part of the planner work by generating and comparing Paths

Yeah.  The reimplementation I did in createplan.c causes the planner to
generate a targetlist that seems valid in practice, but doesn't pass the
rather simplistic test in ExecCheckPlanOutput.  (The latter is expecting
a simple null Const corresponding to a dropped column, but what it's
getting is a Var that references a null Const one plan level down.)

Not sure whether it's reasonable to make the planner jump through extra
hoops here, or complicate the null-for-dropped-cols test in
ExecCheckPlanOutput, or just delete that as not really needed.

			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 (9+ messages)  latest in thread

Message-ID: <9842.1478092663@sss.pgh.pa.us>
Permalink:  ../9842.1478092663@sss.pgh.pa.us/
Also on:    postgresql.org/message-id/9842.1478092663@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, pavel.stehule@gmail.com, hanak@is-it.eu
  Subject: Re: Problems with "pg.dropped" column after upgrade 9.5 to 9.6
  In-Reply-To: <9842.1478092663@sss.pgh.pa.us>
  References: <83shraampf.fsf@is-it.eu> <CAFj8pRBRD0=PUkhNBf4AKCpT50jst8mZ9vLhhnMpM5mZPYY2FQ@mail.gmail.com> <CAB7nPqSTExy8rf_j7pQN5Zn-SCvFFNA48OKGREyHvNzebpxNew@mail.gmail.com> <CAB7nPqQ7zjN78nWvFfG7tk0DdtMvPnR9_+xA68F4nwpRiStnaw@mail.gmail.com> <9842.1478092663@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