List Partitioning in Postgres 12
问题 CREATE TABLE countrymeasurements ( countrycode int NOT NULL, countryname character varying(30) NOT NULL, languagename character varying (30) NOT NULL, daysofoperation character varying(30) NOT NULL, salesparts bigint, replaceparts bigint ) PARTITION BY LIST(countrycode) ( partition india values(1), partition japan values(2), partition china values(3), partition malaysia values(4) ); I am getting ERROR: syntax error at or near "(". What i am missing here. I am using postgres12 回答1: I don't