forked frompostgres/postgres
- Notifications
You must be signed in to change notification settings - Fork6
Commitc85977d
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 parent97287bd commitc85977d
File tree
3 files changed
+32
-21
lines changed- doc/src/sgml
- ref
- src/backend/commands
3 files changed
+32
-21
lines changedLines changed: 10 additions & 10 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
1318 | 1318 |
| |
1319 | 1319 |
| |
1320 | 1320 |
| |
1321 |
| - | |
1322 |
| - | |
1323 |
| - | |
1324 |
| - | |
1325 |
| - | |
1326 |
| - | |
1327 |
| - | |
1328 |
| - | |
1329 |
| - | |
1330 |
| - | |
| 1321 | + | |
| 1322 | + | |
| 1323 | + | |
| 1324 | + | |
| 1325 | + | |
| 1326 | + | |
| 1327 | + | |
| 1328 | + | |
| 1329 | + | |
| 1330 | + | |
1331 | 1331 |
| |
1332 | 1332 |
| |
1333 | 1333 |
| |
|
Lines changed: 13 additions & 6 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
1165 | 1165 |
| |
1166 | 1166 |
| |
1167 | 1167 |
| |
1168 |
| - | |
1169 |
| - | |
1170 |
| - | |
1171 |
| - | |
| 1168 | + | |
| 1169 | + | |
| 1170 | + | |
| 1171 | + | |
| 1172 | + | |
1172 | 1173 |
| |
1173 | 1174 |
| |
1174 | 1175 |
| |
| |||
2305 | 2306 |
| |
2306 | 2307 |
| |
2307 | 2308 |
| |
2308 |
| - | |
| 2309 | + | |
2309 | 2310 |
| |
2310 | 2311 |
| |
2311 |
| - | |
| 2312 | + | |
2312 | 2313 |
| |
2313 | 2314 |
| |
2314 | 2315 |
| |
| 2316 | + | |
| 2317 | + | |
| 2318 | + | |
| 2319 | + | |
| 2320 | + | |
| 2321 | + | |
2315 | 2322 |
| |
2316 | 2323 |
| |
2317 | 2324 |
| |
|
Lines changed: 9 additions & 5 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
12117 | 12117 |
| |
12118 | 12118 |
| |
12119 | 12119 |
| |
12120 |
| - | |
12121 |
| - | |
12122 |
| - | |
12123 |
| - | |
| 12120 | + | |
| 12121 | + | |
| 12122 | + | |
| 12123 | + | |
| 12124 | + | |
| 12125 | + | |
| 12126 | + | |
| 12127 | + | |
12124 | 12128 |
| |
12125 | 12129 |
| |
12126 | 12130 |
| |
12127 | 12131 |
| |
12128 |
| - | |
| 12132 | + | |
12129 | 12133 |
| |
12130 | 12134 |
| |
12131 | 12135 |
| |
|
0 commit comments
Comments
(0)