diff options
author | Peter Eisentraut <peter@eisentraut.org> | 2024-01-16 08:57:35 +0100 |
---|---|---|
committer | Peter Eisentraut <peter@eisentraut.org> | 2024-01-16 08:57:35 +0100 |
commit | d22d98c341713a260c1d821a62e83c19e27defa0 (patch) | |
tree | 366b89bae33341f599ce4cd8ed2c55fd95530a37 /src/backend/utils/adt/xml.c | |
parent | 58b20e6d75e5ccaba8bd8a8b1c09f90e4a371b63 (diff) | |
download | postgresql-d22d98c341713a260c1d821a62e83c19e27defa0.tar.gz postgresql-d22d98c341713a260c1d821a62e83c19e27defa0.zip |
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.oss@gmail.com>
Discussion: https://www.postgresql.org/message-id/flat/CAExHW5uOykuTC+C6R1yDSp=o8Q83jr8xJdZxgPkxfZ1Ue5RRGg@mail.gmail.com
Diffstat (limited to 'src/backend/utils/adt/xml.c')
0 files changed, 0 insertions, 0 deletions