Skip to content

Commit 6abfb46

Browse files
committed
chore: mention timestamptz and new interval sizes
Signed-off-by: Daniel Vérité <[email protected]>
1 parent 99b75db commit 6abfb46

File tree

1 file changed

+6
-4
lines changed

1 file changed

+6
-4
lines changed

README.md

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -21,19 +21,21 @@ PPM will process all referenced partitions and exit with a non-zero code if it d
2121

2222
- Support of PostgreSQL 14+
2323
- Only supports [`RANGE` partition strategy](https://www.postgresql.org/docs/current/ddl-partitioning.html#DDL-PARTITIONING-OVERVIEW-RANGE)
24-
- The partition key must be a column of `date`, `timestamp`, or `uuid` type
24+
- Gaps are not allowed in-between partitions
25+
- The partition key must be a column of `date`, `timestamp`, `timestamptz` or `uuid` type
2526
- Support `daily`, `weekly`, `monthly`, `quarterly`, and `yearly` partitioning
26-
- Dates are implemented through UTC timezone
27-
- Partition names are enforced and not configurable
27+
- Partition names are not configurable
2828

2929
| Partition interval | Pattern | Example |
3030
| ------------------ | ----------------------------------------- | ----------------- |
3131
| daily | `<parent_table>_<YYYY>_<DD>_<MM>` | `logs_2024_06_25` |
32-
| weekly | `<parent_table>_w<week number>` | `logs_2024_w26` |
32+
| weekly | `<parent_table>_w<ISO week number>` | `logs_2024_w26` |
3333
| quarterly | `<parent_table>_<YYYY>_q<quarter number>` | `logs_2024_q1` |
3434
| monthly | `<parent_table>_<YYYY>_<MM>` | `logs_2024_06` |
3535
| yearly | `<parent_table>_<YYYY>` | `logs_2024` |
3636

37+
Whenever that interval is changed in the configuration, the provisioning may create new partitions shorter than the interval and named `<parent_table>_<YYYYDDMM>_<YYYYDDMM>` to fill the gaps between the existing and new partitions. These gaps can range from one day to the new interval size minus one day.
38+
3739
## Installation
3840

3941
PPM is available as a Docker image, Debian package, and Binary.

0 commit comments

Comments
 (0)