On Sun, Aug 6, 2017 at 11:38 PM, Craig Ringer <cr...@2ndquadrant.com> wrote: > Can we instead create the new partitions with the same dropped columns? > > Ensure that every partition, parent and child, has the same column-set?
We could, but that has costs of its own. It means that those calls are stored in the tuple as nulls, which means that there will be a null bitmap where you wouldn't otherwise have one, and every time you deform a tuple you'll have to worry about those columns even though they're never used for anything. It's not clear whether this cost is more or less than the tuple conversion cost. It seems ugly to me, though, either way. -- Robert Haas EnterpriseDB: http://www.enterprisedb.com The Enterprise PostgreSQL Company -- Sent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-hackers