pgsql: Fix updates of indisvalid for partitioned indexes

2023-07-13 Thread Michael Paquier
Fix updates of indisvalid for partitioned indexes indisvalid is switched to true for partitioned indexes when all its partitions have valid indexes when attaching a new partition, up to the top-most parent if all its leaves are themselves valid when dealing with multiple layers of partitions. The

pgsql: Fix updates of indisvalid for partitioned indexes

2023-07-13 Thread Michael Paquier
Fix updates of indisvalid for partitioned indexes indisvalid is switched to true for partitioned indexes when all its partitions have valid indexes when attaching a new partition, up to the top-most parent if all its leaves are themselves valid when dealing with multiple layers of partitions. The

pgsql: Fix updates of indisvalid for partitioned indexes

2023-07-13 Thread Michael Paquier
Fix updates of indisvalid for partitioned indexes indisvalid is switched to true for partitioned indexes when all its partitions have valid indexes when attaching a new partition, up to the top-most parent if all its leaves are themselves valid when dealing with multiple layers of partitions. The

pgsql: Fix updates of indisvalid for partitioned indexes

2023-07-13 Thread Michael Paquier
Fix updates of indisvalid for partitioned indexes indisvalid is switched to true for partitioned indexes when all its partitions have valid indexes when attaching a new partition, up to the top-most parent if all its leaves are themselves valid when dealing with multiple layers of partitions. The

pgsql: Fix updates of indisvalid for partitioned indexes

2023-07-13 Thread Michael Paquier
Fix updates of indisvalid for partitioned indexes indisvalid is switched to true for partitioned indexes when all its partitions have valid indexes when attaching a new partition, up to the top-most parent if all its leaves are themselves valid when dealing with multiple layers of partitions. The

pgsql: Fix updates of indisvalid for partitioned indexes

2023-07-13 Thread Michael Paquier
Fix updates of indisvalid for partitioned indexes indisvalid is switched to true for partitioned indexes when all its partitions have valid indexes when attaching a new partition, up to the top-most parent if all its leaves are themselves valid when dealing with multiple layers of partitions. The

pgsql: Fix updates of indisvalid for partitioned indexes

2023-07-13 Thread Michael Paquier
Fix updates of indisvalid for partitioned indexes indisvalid is switched to true for partitioned indexes when all its partitions have valid indexes when attaching a new partition, up to the top-most parent if all its leaves are themselves valid when dealing with multiple layers of partitions. The