forked frompostgres/postgres
- Notifications
You must be signed in to change notification settings - Fork6
Commitc8ed820
committed
Improve two error messages related to foreign keys on partitioned tables
Error messages for creating a foreign key on a partitioned table usingONLY or NOT VALID were wrong in mentioning the objects they worked on.This commit adds on the way some regression tests missing for thosecases.Author: Laurenz AlbeReviewed-by: Michael PaquierDiscussion:https://postgr.es/m/c11c05810a9ed65e9b2c817a9ef442275a32fe80.camel@cybertec.at1 parent4d7c740 commitc8ed820
File tree
3 files changed
+24
-2
lines changed- src
- backend/commands
- test/regress
- expected
- sql
3 files changed
+24
-2
lines changedLines changed: 4 additions & 2 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
7334 | 7334 |
| |
7335 | 7335 |
| |
7336 | 7336 |
| |
7337 |
| - | |
| 7337 | + | |
| 7338 | + | |
7338 | 7339 |
| |
7339 | 7340 |
| |
7340 | 7341 |
| |
7341 | 7342 |
| |
7342 |
| - | |
| 7343 | + | |
| 7344 | + | |
7343 | 7345 |
| |
7344 | 7346 |
| |
7345 | 7347 |
| |
|
Lines changed: 11 additions & 0 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
1465 | 1465 |
| |
1466 | 1466 |
| |
1467 | 1467 |
| |
| 1468 | + | |
| 1469 | + | |
| 1470 | + | |
| 1471 | + | |
| 1472 | + | |
| 1473 | + | |
| 1474 | + | |
| 1475 | + | |
| 1476 | + | |
| 1477 | + | |
| 1478 | + | |
1468 | 1479 |
| |
1469 | 1480 |
| |
1470 | 1481 |
| |
|
Lines changed: 9 additions & 0 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
1106 | 1106 |
| |
1107 | 1107 |
| |
1108 | 1108 |
| |
| 1109 | + | |
| 1110 | + | |
| 1111 | + | |
| 1112 | + | |
| 1113 | + | |
| 1114 | + | |
| 1115 | + | |
| 1116 | + | |
| 1117 | + | |
1109 | 1118 |
| |
1110 | 1119 |
| |
1111 | 1120 |
| |
|
0 commit comments
Comments
(0)