Обсуждение: compatibility issue - problem with migrating from Postgres 11

Поиск
Список
Период
Сортировка

compatibility issue - problem with migrating from Postgres 11

От
Pavel Stehule
Дата:
Hi

my customer reported an issue related to unsupported TABLESPACE pg_default for partitioned table:

postgres=# CREATE TABLE IF NOT EXISTS foo2
    (
        data bytea,
        guid character varying(255) COLLATE pg_catalog."default" NOT NULL,
        part date NOT NULL,
        retention_period integer,
        CONSTRAINT document_data_bytea_pkey1 PRIMARY KEY (guid, part)
    ) PARTITION BY RANGE (part)
    WITH (
        OIDS = FALSE
    )
    TABLESPACE pg_default;
ERROR:  cannot specify default tablespace for partitioned relations


Are there some plans to fix this issue?

Regards

Pavel