I'm implementing partition to PostgreSQL (version 12). I'll use the transaction_date (year) to create the partitions, one partition per year, trigger and function to save data on the right partition.
I'm applying the implementation Using Inheritance and how can I load the partitions for 2009, 2010, 2011, ...?
All the examples I found starts with an empty table.
Thanks