Creating partitions automatically in PostgreSQL
StreamBright
146

Why not do the insert, catch an exception if it happens and create the table in there? It seems like it would be more efficient that way.

Of course the most efficient way would be to create the tables ahead of time and create a rule instead of a trigger.

Show your support

Clapping shows how much you appreciated tim’s story.