Hello, I didn’t test it myself but maybe using logical réplication could help ... See https://www.postgresql.org/docs/10/logical-replication.html Operations - create parttable - Feed it using réplication - when sync : stop app, stop réplication, rename tables - maybe you can réplicate from parttable to nonpart as a rollback plan - ... To be tested carrefully Regards PAscal -- Sent from: http://www.postgresql-archive.org/PostgreSQL-general-f1843780.html