Commit 33753ac
Amit Kapila
Add object names to partition integrity violations.
All errors of SQLSTATE class 23 should include the name of an object
associated with the error in separate fields of the error report message.
We do this so that applications need not try to extract them from the
possibly-localized human-readable text of the message.
Reported-by: Chris Bandy
Author: Chris Bandy
Reviewed-by: Amit Kapila and Amit Langote
Discussion: https://postgr.es/m/0aa113a3-3c7f-db48-bcd8-f9290b2269ae@gmail.com1 parent 79dfa8a commit 33753ac
File tree
5 files changed
+12
-6
lines changed- src/backend
- commands
- executor
- partitioning
- utils/adt
5 files changed
+12
-6
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
5343 | 5343 | | |
5344 | 5344 | | |
5345 | 5345 | | |
5346 | | - | |
| 5346 | + | |
| 5347 | + | |
5347 | 5348 | | |
5348 | 5349 | | |
5349 | 5350 | | |
5350 | 5351 | | |
5351 | | - | |
| 5352 | + | |
| 5353 | + | |
5352 | 5354 | | |
5353 | 5355 | | |
5354 | 5356 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1878 | 1878 | | |
1879 | 1879 | | |
1880 | 1880 | | |
1881 | | - | |
| 1881 | + | |
| 1882 | + | |
1882 | 1883 | | |
1883 | 1884 | | |
1884 | 1885 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
346 | 346 | | |
347 | 347 | | |
348 | 348 | | |
349 | | - | |
| 349 | + | |
| 350 | + | |
350 | 351 | | |
351 | 352 | | |
352 | 353 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1366 | 1366 | | |
1367 | 1367 | | |
1368 | 1368 | | |
1369 | | - | |
| 1369 | + | |
| 1370 | + | |
1370 | 1371 | | |
1371 | 1372 | | |
1372 | 1373 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2452 | 2452 | | |
2453 | 2453 | | |
2454 | 2454 | | |
2455 | | - | |
| 2455 | + | |
| 2456 | + | |
2456 | 2457 | | |
2457 | 2458 | | |
2458 | 2459 | | |
| |||
0 commit comments