Hi Zsolt, I tested the v5 patch, “Warn when REPACK or CLUSTER skips a foreign table,” against the updated PostgreSQL source. The patch applied successfully, and the build completed without errors. All regression tests passed. For manual testing, I created a partitioned table with both a local partition and a foreign-table partition using 'postgres_fdw' Before applying the patch, 'CLUSTER' skipped the foreign partition without displaying a warning. After applying the patch, I verified that both 'CLUSTER' and 'REPACK' displayed the expected warnings when skipping the foreign partition. The local and foreign partition data remained accessible, and both commands completed successfully in my test case.
The behavior looks good based on these tests. I did not observe any issues during testing. Thanks for the patch and the work on this improvement. Regards solai
