Assert that partition inherits from only one parent in MergeAttributes() A partition inherits only from one partitioned table and thus inherits a column definition only once. Assert the same in MergeAttributes() and simplify a condition accordingly.
Similar definition exists about line 3068 in the same function. Author: Ashutosh Bapat <ashutosh.bapat....@gmail.com> Discussion: https://www.postgresql.org/message-id/flat/CAExHW5uOykuTC+C6R1yDSp=o8q83jr8xjdzxgpkxfz1ue5r...@mail.gmail.com Branch ------ master Details ------- https://git.postgresql.org/pg/commitdiff/d22d98c341713a260c1d821a62e83c19e27defa0 Modified Files -------------- src/backend/commands/tablecmds.c | 13 ++++++++----- 1 file changed, 8 insertions(+), 5 deletions(-)