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

Поиск
Список
Период
Сортировка
От Ron
Тема Re: Partitioning a table by integer value (preferably in place)
Дата
Msg-id d08df5c8-b616-e541-2f62-fe0521457ecf@gmail.com
обсуждение исходный текст
Ответ на Re: Partitioning a table by integer value (preferably in place)  (Pól Ua Laoínecháin <linehanp@tcd.ie>)
Ответы Re: Partitioning a table by integer value (preferably in place)  (Pól Ua Laoínecháin <linehanp@tcd.ie>)
Список 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 по дате отправления:

Предыдущее
От: Pól Ua Laoínecháin
Дата:
Сообщение: Re: Partitioning a table by integer value (preferably in place)
Следующее
От: Vijaykumar Jain
Дата:
Сообщение: Re: Partitioning a table by integer value (preferably in place)