Re: Clarify restriction on partitioned tables primary key / unique indexes
Erik Rijkers <er@xs4all.nl>
From: Erik Rijkers <er@xs4all.nl>
To: David Rowley <dgrowleyml@gmail.com>,
PostgreSQL Developers <pgsql-hackers@lists.postgresql.org>
Date: 2022-09-02T10:01:09Z
Lists: pgsql-hackers
Op 02-09-2022 om 11:44 schreef David Rowley: > Over on [1], there was a question about why it wasn't possible to > create the following table: > > CREATE TABLE foobar( > id BIGINT NOT NULL PRIMARY KEY, > baz VARCHAR NULL DEFAULT NULL > ) PARTITION BY HASH(my_func(id)); > > > The attached attempts to clarify these restrictions more accurately > based on the current code's restrictions. > > If there's no objections or suggestions for better wording, I'd like > to commit the attached. Minimal changes: 'To create a unique or primary key constraints on partitioned table' should be 'To create unique or primary key constraints on partitioned tables' Erik
Commits
-
Doc: clarify partitioned table limitations
- 1630cad74092 11.18 landed
- 844ac0967e39 12.13 landed
- b70db6c83073 13.9 landed
- a254545a54a2 14.6 landed
- 6ce4c4d83101 15.0 landed
- 519be095f2bf 16.0 landed