forked frompostgres/postgres
- Notifications
You must be signed in to change notification settings - Fork6
Commit519be09
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 parent2fe6b2a commit519be09
1 file changed
+7
-6
lines changedLines changed: 7 additions & 6 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
4174 | 4174 |
| |
4175 | 4175 |
| |
4176 | 4176 |
| |
4177 |
| - | |
4178 |
| - | |
4179 |
| - | |
4180 |
| - | |
4181 |
| - | |
4182 |
| - | |
| 4177 | + | |
| 4178 | + | |
| 4179 | + | |
| 4180 | + | |
| 4181 | + | |
| 4182 | + | |
| 4183 | + | |
4183 | 4184 |
| |
4184 | 4185 |
| |
4185 | 4186 |
| |
|
0 commit comments
Comments
(0)