我已经将我的表分区如下:
CREATE TABLE customer
(
c_custkey integer NOT NULL,
c_name character varying(25) NOT NULL,
c_address character varying(40) NOT NULL,
c_city character(10) NOT NULL,
c_nation character(15) NOT NULL,
c_region character(15) NOT NULL,
c_phone character(15) NOT NULL,
c_mktsegment character(10)
) PARTITION BY List(c_region) ;
create table customer_1 PARTITION of customer for values in ('EUROPE');
create table customer_2 PARTITION of customer for values in ('AFRICA');
create table customer_3 PARTITION of customer for values in ('AMERICA');
create table customer_4 PARTITION of customer for values in ('MIDDLE EAST');
create table customer_5 PARTITION of customer for values in ('ASIA');
我的分区充满了数据。我想在不丢失数据的情况下重新分区我的表。如何用 PostgreSQL 做到这一点?