pgsql: Fix incorrect memory access in VACUUM FULL with invalid toast in

2024-09-26 Thread Michael Paquier
Fix incorrect memory access in VACUUM FULL with invalid toast indexes An invalid toast index is skipped in reindex_relation(). These would be remnants of a failed REINDEX CONCURRENTLY and they should never been rebuilt as there can only be one valid toast index at a time. REINDEX_REL_SUPPRESS_IN

pgsql: Fix incorrect memory access in VACUUM FULL with invalid toast in

2024-09-26 Thread Michael Paquier
Fix incorrect memory access in VACUUM FULL with invalid toast indexes An invalid toast index is skipped in reindex_relation(). These would be remnants of a failed REINDEX CONCURRENTLY and they should never been rebuilt as there can only be one valid toast index at a time. REINDEX_REL_SUPPRESS_IN

pgsql: Fix incorrect memory access in VACUUM FULL with invalid toast in

2024-09-26 Thread Michael Paquier
Fix incorrect memory access in VACUUM FULL with invalid toast indexes An invalid toast index is skipped in reindex_relation(). These would be remnants of a failed REINDEX CONCURRENTLY and they should never been rebuilt as there can only be one valid toast index at a time. REINDEX_REL_SUPPRESS_IN

pgsql: Fix incorrect memory access in VACUUM FULL with invalid toast in

2024-09-26 Thread Michael Paquier
Fix incorrect memory access in VACUUM FULL with invalid toast indexes An invalid toast index is skipped in reindex_relation(). These would be remnants of a failed REINDEX CONCURRENTLY and they should never been rebuilt as there can only be one valid toast index at a time. REINDEX_REL_SUPPRESS_IN

pgsql: Fix incorrect memory access in VACUUM FULL with invalid toast in

2024-09-26 Thread Michael Paquier
Fix incorrect memory access in VACUUM FULL with invalid toast indexes An invalid toast index is skipped in reindex_relation(). These would be remnants of a failed REINDEX CONCURRENTLY and they should never been rebuilt as there can only be one valid toast index at a time. REINDEX_REL_SUPPRESS_IN

pgsql: Fix incorrect memory access in VACUUM FULL with invalid toast in

2024-09-26 Thread Michael Paquier
Fix incorrect memory access in VACUUM FULL with invalid toast indexes An invalid toast index is skipped in reindex_relation(). These would be remnants of a failed REINDEX CONCURRENTLY and they should never been rebuilt as there can only be one valid toast index at a time. REINDEX_REL_SUPPRESS_IN

pgsql: Fix incorrect memory access in VACUUM FULL with invalid toast in

2024-09-26 Thread Michael Paquier
Fix incorrect memory access in VACUUM FULL with invalid toast indexes An invalid toast index is skipped in reindex_relation(). These would be remnants of a failed REINDEX CONCURRENTLY and they should never been rebuilt as there can only be one valid toast index at a time. REINDEX_REL_SUPPRESS_IN