- Notifications
You must be signed in to change notification settings - Fork4.9k
Commitb70db6c
committed
Doc: clarify partitioned table limitations
Improve documentation regarding the limitations of unique and primary keyconstraints on partitioned tables. The existing documentation didn't makeit clear that the constraint columns had to be present in the partitionkey as bare columns. The reader could be led to believe that it was ok toinclude the constraint columns as part of a function call's parameters oras part of an expression. Additionally, the documentation didn't mentionanything about the fact that we disallow unique and primary keyconstraints if the partition keys contain *any* function calls orexpressions, regardless of if the constraint columns appear as columnselsewhere in the partition key.The confusion here was highlighted by a report on the general mailing listby James Vanns.Discussion:https://postgr.es/m/CAH7vdhNF0EdYZz3GLpgE3RSJLwWLhEk7A_fiKS9dPBT3Dz_3eA@mail.gmail.comDiscussion:https://postgr.es/m/CAApHDvoU-u9iTqKjteYRFfi+UNEk7dbSAcyxEQD==vZt9B1KnA@mail.gmail.comReviewed-by: Erik RijkersBackpatch-through: 111 parent0cc46c8 commitb70db6c
1 file changed
+7
-6
lines changedLines changed: 7 additions & 6 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
4055 | 4055 |
| |
4056 | 4056 |
| |
4057 | 4057 |
| |
4058 |
| - | |
4059 |
| - | |
4060 |
| - | |
4061 |
| - | |
4062 |
| - | |
4063 |
| - | |
| 4058 | + | |
| 4059 | + | |
| 4060 | + | |
| 4061 | + | |
| 4062 | + | |
| 4063 | + | |
| 4064 | + | |
4064 | 4065 |
| |
4065 | 4066 |
| |
4066 | 4067 |
| |
|
0 commit comments
Comments
(0)