diff options
author | David Rowley <drowley@postgresql.org> | 2021-10-01 15:09:49 +1300 |
---|---|---|
committer | David Rowley <drowley@postgresql.org> | 2021-10-01 15:09:49 +1300 |
commit | 16239c5fdf6e457f8274c49209d1fbdeab472703 (patch) | |
tree | 654d438c5a186b9c9cfb8483b1e700cc73334b07 /src/backend/access/transam/xlog.c | |
parent | 20f8671ef69b864c25ffa59471814102c1260d78 (diff) | |
download | postgresql-16239c5fdf6e457f8274c49209d1fbdeab472703.tar.gz postgresql-16239c5fdf6e457f8274c49209d1fbdeab472703.zip |
Ensure interleaved_parts field is always initialized
This field was recently added in db632fbca, however that commit missed one
place where it should have initialized the new field to NULL. The missed
location is where the PartitionBoundInfo is created for partition-wise
join relations. Technically there could be interleaved partitions in a
partition-wise join relation, but currently the only optimization we use
this field for only does so for base rels and other member rels. So just
document that we don't populate this field for join rels.
Reported-by: Amit Langote
Author: Amit Langote, David Rowley
Reviewed-by: Amit Langote, David Rowley
Discussion: https://postgr.es/m/CA+HiwqE76Rps24kwHsd2Cr82Ua07tJC9t9reG0c7ScX9n_xrEA@mail.gmail.com
Diffstat (limited to 'src/backend/access/transam/xlog.c')
0 files changed, 0 insertions, 0 deletions