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

From: Ron <ronljohnsonjr(at)gmail(dot)com>
To: pgsql-general(at)lists(dot)postgresql(dot)org
Subject: Re: Partitioning a table by integer value (preferably in place)
Date: 2021-08-09 14:54:07
Message-ID: d08df5c8-b616-e541-2f62-fe0521457ecf@gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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.

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Vijaykumar Jain 2021-08-09 16:01:11 Re: Partitioning a table by integer value (preferably in place)
Previous Message Pól Ua Laoínecháin 2021-08-09 14:14:09 Re: Partitioning a table by integer value (preferably in place)