In this article, the author explains how to instantly convert all native partition tables to ordinary tables using PostgreSQL.
This article explains the method to rotate data using partition tables in polling mode while using truncate to clear partitions.