Just for the record, there is a typo in the modified version I sent. The partition key column is "id_timestamp" not "timestamp" (according to Limitations 5.11.2.3 section in https://www.postgresql.org/docs/12/ddl-partitioning.html section) Regards, AP