forked frompostgres/postgres
- Notifications
You must be signed in to change notification settings - Fork6
Commit6fc8a7b
committed
Doc: mention foreign keys can reference unique indexes
We seem to have only documented a foreign key can reference the columns ofa primary key or unique constraint. Here we adjust the documentationto mention columns in a non-partial unique index can be mentioned too.The header comment for transformFkeyCheckAttrs() also didn't mentionunique indexes, so fix that too. In passing make that header commentreflect reality in the various other aspects where it deviated from it.Bug: 18295Reported-by: Gilles PARCAuthor: Laurenz Albe, David RowleyDiscussion:https://www.postgresql.org/message-id/18295-0ed0fac5c9f7b17b%40postgresql.orgBackpatch-through: 121 parent3726c1c commit6fc8a7b
File tree
3 files changed
+32
-21
lines changed- doc/src/sgml
- ref
- src/backend/commands
3 files changed
+32
-21
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1154 | 1154 | | |
1155 | 1155 | | |
1156 | 1156 | | |
1157 | | - | |
1158 | | - | |
1159 | | - | |
1160 | | - | |
1161 | | - | |
1162 | | - | |
1163 | | - | |
1164 | | - | |
1165 | | - | |
1166 | | - | |
| 1157 | + | |
| 1158 | + | |
| 1159 | + | |
| 1160 | + | |
| 1161 | + | |
| 1162 | + | |
| 1163 | + | |
| 1164 | + | |
| 1165 | + | |
| 1166 | + | |
1167 | 1167 | | |
1168 | 1168 | | |
1169 | 1169 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1108 | 1108 | | |
1109 | 1109 | | |
1110 | 1110 | | |
1111 | | - | |
1112 | | - | |
1113 | | - | |
1114 | | - | |
| 1111 | + | |
| 1112 | + | |
| 1113 | + | |
| 1114 | + | |
| 1115 | + | |
1115 | 1116 | | |
1116 | 1117 | | |
1117 | 1118 | | |
| |||
2248 | 2249 | | |
2249 | 2250 | | |
2250 | 2251 | | |
2251 | | - | |
| 2252 | + | |
2252 | 2253 | | |
2253 | 2254 | | |
2254 | | - | |
| 2255 | + | |
2255 | 2256 | | |
2256 | 2257 | | |
2257 | 2258 | | |
| 2259 | + | |
| 2260 | + | |
| 2261 | + | |
| 2262 | + | |
| 2263 | + | |
| 2264 | + | |
2258 | 2265 | | |
2259 | 2266 | | |
2260 | 2267 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
11414 | 11414 | | |
11415 | 11415 | | |
11416 | 11416 | | |
11417 | | - | |
11418 | | - | |
11419 | | - | |
11420 | | - | |
| 11417 | + | |
| 11418 | + | |
| 11419 | + | |
| 11420 | + | |
| 11421 | + | |
| 11422 | + | |
| 11423 | + | |
| 11424 | + | |
11421 | 11425 | | |
11422 | 11426 | | |
11423 | 11427 | | |
11424 | 11428 | | |
11425 | | - | |
| 11429 | + | |
11426 | 11430 | | |
11427 | 11431 | | |
11428 | 11432 | | |
| |||
0 commit comments
Comments
(0)