# Table partitioning - is there any way to crate partition table manually

**URL:** <https://forums.percona.com/t/table-partitioning-is-there-any-way-to-crate-partition-table-manually/30067>\
**Category:** PostgreSQL General Discussion\
**Created:** [May 6, 2024, 1:05pm UTC](https://forums.percona.com/t/table-partitioning-is-there-any-way-to-crate-partition-table-manually/30067 "2024-05-06T13:05:38Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![madhan\_joe](https://sea1.discourse-cdn.com/flex019/user_avatar/forums.percona.com/madhan_joe/32/16293_2.png) [@madhan\_joe](https://forums.percona.com/u/madhan_joe)\
**Post date:** [May 6, 2024, 1:05pm UTC](https://forums.percona.com/t/table-partitioning-is-there-any-way-to-crate-partition-table-manually/30067/1 "2024-05-06T13:05:38Z")

</div>

hi,  
in postgresql db how to avoid to create partition table manually  
is there any way to automate the partition table creation

---

<div class="post-metadata">

**Author:** ![CTutte](https://sea1.discourse-cdn.com/flex019/user_avatar/forums.percona.com/ctutte/32/1341_2.png) [@CTutte](https://forums.percona.com/u/CTutte)\
**Post date:** [May 6, 2024, 1:12pm UTC](https://forums.percona.com/t/table-partitioning-is-there-any-way-to-crate-partition-table-manually/30067/2 "2024-05-06T13:12:58Z")

</div>

Hi madhan\_joe,

Have you considered creating a script that triggers every week/month via cronjob?  
If that does not work then can you elaborate what you are trying to do?

---

<div class="post-metadata">

**Author:** ![ezee](https://avatars.discourse-cdn.com/v4/letter/e/bbe5ce/32.png) [@ezee](https://forums.percona.com/u/ezee)\
**Post date:** [July 30, 2025, 1:28pm UTC](https://forums.percona.com/t/table-partitioning-is-there-any-way-to-crate-partition-table-manually/30067/3 "2025-07-30T13:28:45Z")

</div>

@madhan_joe check out pg\_partman.

> **[GitHub - pgpartman/pg\_partman: Partition management extension for PostgreSQL](https://github.com/pgpartman/pg_partman)**
>
> Partition management extension for PostgreSQL
