相关疑难解决方法(0)

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)
  );
Run Code Online (Sandbox Code Playgroud)

我收到错误:“(”处或附近的语法错误。我在这里缺少什么。我正在使用 postgres12

postgresql database-partitioning

1
推荐指数
1
解决办法
1049
查看次数

标签 统计

database-partitioning ×1

postgresql ×1