mirror of
https://github.com/timescale/timescaledb.git
synced 2025-05-21 13:14:19 +08:00
There are two reasons for adding the partition count to the partition_epoch table: * It makes the partition_epoch more self-describing as it makes it easy to see how many partitions are in the current epoch as well as past ones. * It simplifies native code that can read the partition epoch, allocate memory for the right number of partitions, and finally scan the partition table filling in each entry.