Re: Partitioning a table by integer value (preferably in place)

From: Pól Ua Laoínecháin <linehanp(at)tcd(dot)ie>
To: PostgreSQL General <pgsql-general(at)lists(dot)postgresql(dot)org>
Subject: Re: Partitioning a table by integer value (preferably in place)
Date: 2021-08-09 14:14:09
Message-ID: CAF4RT5QGYi2rYNXJP9HUVAyygGJ36BbWincXCKzTqVXHLkJGVQ@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Hi again all,

Just a quick follow-up - could I script the creation of 1000
partitions using bash or PL/pgSQL? I think (rightly/wrongly?) that
this may be the best solution?

I've found samples on the web, but they are for partitioning by date -
a quick sample by integer would be gratefully received!

Is partman recommended by the community?

TIA and rgs,

Pól...

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Ron 2021-08-09 14:54:07 Re: Partitioning a table by integer value (preferably in place)
Previous Message Daniel Gustafsson 2021-08-09 13:44:31 Re: PostgreSQL Apt Repository instructions need updating