Moving from PG 9-era table inheritance to PG 12 range partioning

From: Wells Oliver <wells(dot)oliver(at)gmail(dot)com>
To: pgsql-admin <pgsql-admin(at)postgresql(dot)org>
Subject: Moving from PG 9-era table inheritance to PG 12 range partioning
Date: 2019-10-31 23:26:14
Message-ID: CAOC+FBWenMJVfwxRvDqWmsyk62zZVUUFWS_kh3xv-OROVu15Xg@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-admin

I was thinking of moving a set of partitioned tables using inheritance
(done in PG 96.) to the new(ish) range partitioning available in 10/11/12...

My plan was to make another schema and create the new range-partitioned
tables, then copy the data into them, then drop the older tables and re-set
the schema for the new partitioned tables to the old schema, essentially
meaning the new partitioned tables will take the place of the older tables
when I am ready. Same exact structure, just different under the hood.

Any issues with this plan? Will changing the schema of the new partitioned
table break anything?

--
Wells Oliver
wells(dot)oliver(at)gmail(dot)com <wellsoliver(at)gmail(dot)com>

Responses

Browse pgsql-admin by date

  From Date Subject
Next Message Keith 2019-11-01 00:35:57 Re: Moving from PG 9-era table inheritance to PG 12 range partioning
Previous Message Laurenz Albe 2019-10-31 18:52:24 Re: In AIX server encoding utf8 is not supported