Commit 9c2a970
committed
Improve two error messages related to foreign keys on partitioned tables
Error messages for creating a foreign key on a partitioned table using
ONLY or NOT VALID were wrong in mentioning the objects they worked on.
This commit adds on the way some regression tests missing for those
cases.
Author: Laurenz Albe
Reviewed-by: Michael Paquier
Discussion: https://postgr.es/m/c11c05810a9ed65e9b2c817a9ef442275a32fe80.camel@cybertec.at1 parent a9da329 commit 9c2a970
File tree
3 files changed
+24
-2
lines changed- src
- backend/commands
- test/regress
- expected
- sql
3 files changed
+24
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
7365 | 7365 | | |
7366 | 7366 | | |
7367 | 7367 | | |
7368 | | - | |
| 7368 | + | |
| 7369 | + | |
7369 | 7370 | | |
7370 | 7371 | | |
7371 | 7372 | | |
7372 | 7373 | | |
7373 | | - | |
| 7374 | + | |
| 7375 | + | |
7374 | 7376 | | |
7375 | 7377 | | |
7376 | 7378 | | |
| |||
| 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 | | |
| |||
| 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