Re: map_partition_varattnos() and whole-row vars

Peter Geoghegan <pg@bowt.ie>

From: Peter Geoghegan <pg@bowt.ie>
To: Robert Haas <robertmhaas@gmail.com>
Cc: Noah Misch <noah@leadboat.com>, Amit Langote <Langote_Amit_f8@lab.ntt.co.jp>, Pg Hackers <pgsql-hackers@postgresql.org>
Date: 2017-07-28T19:08:00Z
Lists: pgsql-hackers
Robert Haas <robertmhaas@gmail.com> wrote:
>(Boy, our implementation of DROP COLUMN is painful!  If we really got
>rid of columns when they were dropped we could've avoided this whole
>mess.)

I tend to agree. I can recall several cases where it led to bugs that
went undetected for quite a while.

-- 
Peter Geoghegan


Commits

  1. Teach map_partition_varattnos to handle whole-row expressions.