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