Table Partitioning

Поиск
Список
Период
Сортировка
От PG Doc comments form
Тема Table Partitioning
Дата
Msg-id 159611600912.679.16677937108598917950@wrigleys.postgresql.org
обсуждение исходный текст
Ответы Re: Table Partitioning
Список pgsql-docs
The following documentation comment has been logged on the website:

Page: https://www.postgresql.org/docs/12/ddl-partitioning.html
Description:

With version 12 using declarative partitioning request that the column used
for patitioning is part of the PRIMARY KEY of the table as you can see in
the error message below.

ERROR:  insufficient columns in PRIMARY KEY constraint definition
DETAIL:  PRIMARY KEY constraint on table "ztest" lacks column "mtime" which
is part of the partition key.

If I've well understood, this was not the case in previous versions, but it
becomes mandatory in version 12 (and maybe 11 too). Such restriction is not
mentioned in the documentation for version 12 and would be suitable to be.

Best regards

В списке pgsql-docs по дате отправления:

Предыдущее
От: Tatsuo Ishii
Дата:
Сообщение: Re: High Availability, Load Balancing, and Replication Feature Matrix
Следующее
От: Bruce Momjian
Дата:
Сообщение: Re: High Availability, Load Balancing, and Replication Feature Matrix