On 11/17/18 4:53 PM, Alvaro Herrera wrote:
Here are versions for branches 10 and 11. The main change is that the
COPY test didn't have the partitioned table, because it was recently
introduced (0d5f05cde011) so I backpatched that part also. It's a bit
useless, but I'd rather backpatch the same thing rather than have
different lines there ...
The patch seems fine to me.
It's a bit unfortunate that we simply disable the optimization on
partitioned tables instead of fixing it somehow, but I guess it's better
than nothing and no one has a very good idea how to make it work.
regards
--
Tomas Vondra http://www.2ndQuadrant.com
PostgreSQL Development, 24x7 Support, Remote DBA, Training & Services