pg.ddx.io  pgsql-committers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Tom Lane <tgl@sss.pgh.pa.us>
To: Andres Freund <andres@anarazel.de>
Cc: David Rowley <david.rowley@2ndquadrant.com>
Cc: pgsql-committers@lists.postgresql.org
Subject: Re: pgsql: Remove ineffective check against dropped columns from slot_getat
Date: Sat, 10 Nov 2018 23:09:17 -0500
Message-ID: <19979.1541909357@sss.pgh.pa.us> (raw)
In-Reply-To: <20181110223527.e6ucv3vphzzdpfor@alap3.anarazel.de>
References: <E1gLIHR-0000Gj-Qs@gemulon.postgresql.org>
	<CAKJS1f-F_hPnGh+bGygMy64t4osgY6M+sjW4ykvqmkxrdabL0Q@mail.gmail.com>
	<20181110223527.e6ucv3vphzzdpfor@alap3.anarazel.de>

Andres Freund <andres@anarazel.de> writes:
> On 2018-11-11 01:11:34 +1300, David Rowley wrote:
>> Would it not be worth an Assert(!TupleDescAttr(tupleDesc, attnum -
>> 1)->attisdropped); so that we're more likely to discover any issues
>> where cached plans are not invalidated correctly?

> I don't think it'd really do much.

FWIW, I agree.  We'd need assertions in many more places than this
if we wanted reasonable coverage on the point, and I doubt it's
worth the work.

			regards, tom lane




view thread (4+ messages)

Message-ID: <19979.1541909357@sss.pgh.pa.us>
Permalink:  ../19979.1541909357@sss.pgh.pa.us/
Also on:    postgresql.org/message-id/19979.1541909357@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-committers@postgresql.org
  Cc: tgl@sss.pgh.pa.us, andres@anarazel.de, david.rowley@2ndquadrant.com
  Subject: Re: pgsql: Remove ineffective check against dropped columns from slot_getat
  In-Reply-To: <19979.1541909357@sss.pgh.pa.us>
  References: <E1gLIHR-0000Gj-Qs@gemulon.postgresql.org> <CAKJS1f-F_hPnGh+bGygMy64t4osgY6M+sjW4ykvqmkxrdabL0Q@mail.gmail.com> <20181110223527.e6ucv3vphzzdpfor@alap3.anarazel.de> <19979.1541909357@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