architect icon indicating copy to clipboard operation
architect copied to clipboard

Postgresql 11 - Trigger for declarative partitioning

Open shalikashvili opened this issue 6 years ago • 1 comments

Now that Postgresql 10 and 11 support declarative partitioning, it would be nice if the architect install decorator had an option where the BEFORE INSERT trigger could be created that generates CREATE TABLE {tablename} PARTITION OF {parent_table}, rather than the (legacy) "INHERITS" form.

shalikashvili avatar Mar 20 '19 22:03 shalikashvili

You can try this https://github.com/chaitin/django-pg-partitioning

virusdefender avatar May 06 '19 02:05 virusdefender