forked frompostgres/postgres
- Notifications
You must be signed in to change notification settings - Fork6
Commit05f18c6

Amit Kapila
Added relation name in error messages for constraint checks.
This gives more information to the user about the error and it makes suchmessages consistent with the other similar messages in the code.Reported-by: Simon RiggsAuthor: Mahendra Singh and Simon RiggsReviewed-by: Beena Emerson and Amit KapilaDiscussion:https://postgr.es/m/CANP8+j+7YUvQvGxTrCiw77R23enMJ7DFmyA3buR+fa2pKs4XhA@mail.gmail.com1 parentff8ca5f commit05f18c6
File tree
17 files changed
+82
-76
lines changed- src
- backend
- commands
- executor
- test/regress
- expected
- output
17 files changed
+82
-76
lines changedOriginal file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
5288 | 5288 |
| |
5289 | 5289 |
| |
5290 | 5290 |
| |
5291 |
| - | |
5292 |
| - | |
| 5291 | + | |
| 5292 | + | |
| 5293 | + | |
5293 | 5294 |
| |
5294 | 5295 |
| |
5295 | 5296 |
| |
| |||
5304 | 5305 |
| |
5305 | 5306 |
| |
5306 | 5307 |
| |
5307 |
| - | |
5308 |
| - | |
| 5308 | + | |
| 5309 | + | |
| 5310 | + | |
5309 | 5311 |
| |
5310 | 5312 |
| |
5311 | 5313 |
| |
| |||
5322 | 5324 |
| |
5323 | 5325 |
| |
5324 | 5326 |
| |
5325 |
| - | |
| 5327 | + | |
| 5328 | + | |
5326 | 5329 |
| |
5327 | 5330 |
| |
5328 | 5331 |
| |
5329 |
| - | |
| 5332 | + | |
| 5333 | + | |
5330 | 5334 |
| |
5331 | 5335 |
| |
5332 | 5336 |
| |
| |||
10160 | 10164 |
| |
10161 | 10165 |
| |
10162 | 10166 |
| |
10163 |
| - | |
10164 |
| - | |
| 10167 | + | |
| 10168 | + | |
| 10169 | + | |
10165 | 10170 |
| |
10166 | 10171 |
| |
10167 | 10172 |
| |
|
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
1957 | 1957 |
| |
1958 | 1958 |
| |
1959 | 1959 |
| |
1960 |
| - | |
1961 |
| - | |
| 1960 | + | |
| 1961 | + | |
| 1962 | + | |
1962 | 1963 |
| |
1963 | 1964 |
| |
1964 | 1965 |
| |
|
Large diffs are not rendered by default.
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
440 | 440 |
| |
441 | 441 |
| |
442 | 442 |
| |
443 |
| - | |
| 443 | + | |
444 | 444 |
| |
445 | 445 |
| |
446 | 446 |
| |
|
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
955 | 955 |
| |
956 | 956 |
| |
957 | 957 |
| |
958 |
| - | |
| 958 | + | |
959 | 959 |
| |
960 | 960 |
| |
961 | 961 |
| |
|
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
90 | 90 |
| |
91 | 91 |
| |
92 | 92 |
| |
93 |
| - | |
| 93 | + | |
94 | 94 |
| |
95 | 95 |
| |
96 | 96 |
| |
|
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
542 | 542 |
| |
543 | 543 |
| |
544 | 544 |
| |
545 |
| - | |
| 545 | + | |
546 | 546 |
| |
547 | 547 |
| |
548 | 548 |
| |
549 | 549 |
| |
550 |
| - | |
| 550 | + | |
551 | 551 |
| |
552 | 552 |
| |
553 | 553 |
| |
| |||
601 | 601 |
| |
602 | 602 |
| |
603 | 603 |
| |
604 |
| - | |
| 604 | + | |
605 | 605 |
| |
606 | 606 |
| |
607 | 607 |
| |
608 | 608 |
| |
609 | 609 |
| |
610 | 610 |
| |
611 |
| - | |
| 611 | + | |
612 | 612 |
| |
613 | 613 |
| |
614 | 614 |
| |
|
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
406 | 406 |
| |
407 | 407 |
| |
408 | 408 |
| |
409 |
| - | |
| 409 | + | |
410 | 410 |
| |
411 | 411 |
| |
412 | 412 |
| |
413 | 413 |
| |
414 | 414 |
| |
415 |
| - | |
| 415 | + | |
416 | 416 |
| |
417 | 417 |
| |
418 | 418 |
| |
419 | 419 |
| |
420 |
| - | |
| 420 | + | |
421 | 421 |
| |
422 | 422 |
| |
423 | 423 |
| |
424 | 424 |
| |
425 | 425 |
| |
426 |
| - | |
| 426 | + | |
427 | 427 |
| |
428 | 428 |
| |
429 | 429 |
| |
|
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
186 | 186 |
| |
187 | 187 |
| |
188 | 188 |
| |
189 |
| - | |
| 189 | + | |
190 | 190 |
| |
191 | 191 |
| |
192 | 192 |
| |
| |||
414 | 414 |
| |
415 | 415 |
| |
416 | 416 |
| |
417 |
| - | |
| 417 | + | |
418 | 418 |
| |
419 | 419 |
| |
420 | 420 |
| |
|
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
124 | 124 |
| |
125 | 125 |
| |
126 | 126 |
| |
127 |
| - | |
| 127 | + | |
128 | 128 |
| |
129 | 129 |
| |
130 | 130 |
| |
| |||
202 | 202 |
| |
203 | 203 |
| |
204 | 204 |
| |
205 |
| - | |
| 205 | + | |
206 | 206 |
| |
207 | 207 |
| |
208 | 208 |
| |
|
0 commit comments
Comments
(0)