Re: Partitioning a table by integer value (preferably in place) - Mailing list pgsql-general

From Ron
Subject Re: Partitioning a table by integer value (preferably in place)
Date
Msg-id d08df5c8-b616-e541-2f62-fe0521457ecf@gmail.com
Whole thread Raw
In response to Re: Partitioning a table by integer value (preferably in place)  (Pól Ua Laoínecháin <linehanp@tcd.ie>)
Responses Re: Partitioning a table by integer value (preferably in place)  (Pól Ua Laoínecháin <linehanp@tcd.ie>)
List pgsql-general
On 8/9/21 9:14 AM, Pól Ua Laoínecháin wrote:
> Hi again all,
>
> Just a quick follow-up - could I script the creation of 1000
> partitions using bash

Sure.  That's what scripting languages are for.

>   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?

-- 
Angular momentum makes the world go 'round.



pgsql-general by date:

Previous
From: Pól Ua Laoínecháin
Date:
Subject: Re: Partitioning a table by integer value (preferably in place)
Next
From: Vijaykumar Jain
Date:
Subject: Re: Partitioning a table by integer value (preferably in place)