- Notifications
You must be signed in to change notification settings - Fork28
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 changedLines changed: 13 additions & 8 deletions
Original 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 |
| |
|
Lines changed: 3 additions & 2 deletions
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 |
| |
|
Lines changed: 38 additions & 38 deletions
Large diffs are not rendered by default.
Lines changed: 1 addition & 1 deletion
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
440 | 440 |
| |
441 | 441 |
| |
442 | 442 |
| |
443 |
| - | |
| 443 | + | |
444 | 444 |
| |
445 | 445 |
| |
446 | 446 |
| |
|
Lines changed: 1 addition & 1 deletion
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
955 | 955 |
| |
956 | 956 |
| |
957 | 957 |
| |
958 |
| - | |
| 958 | + | |
959 | 959 |
| |
960 | 960 |
| |
961 | 961 |
| |
|
Lines changed: 1 addition & 1 deletion
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
90 | 90 |
| |
91 | 91 |
| |
92 | 92 |
| |
93 |
| - | |
| 93 | + | |
94 | 94 |
| |
95 | 95 |
| |
96 | 96 |
| |
|
Lines changed: 4 additions & 4 deletions
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 |
| |
|
Lines changed: 4 additions & 4 deletions
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 |
| |
|
Lines changed: 2 additions & 2 deletions
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 |
| |
|
Lines changed: 2 additions & 2 deletions
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 |
| |
|
Lines changed: 3 additions & 3 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
537 | 537 |
| |
538 | 538 |
| |
539 | 539 |
| |
540 |
| - | |
| 540 | + | |
541 | 541 |
| |
542 | 542 |
| |
543 | 543 |
| |
| |||
940 | 940 |
| |
941 | 941 |
| |
942 | 942 |
| |
943 |
| - | |
| 943 | + | |
944 | 944 |
| |
945 |
| - | |
| 945 | + | |
946 | 946 |
| |
947 | 947 |
| |
948 | 948 |
| |
|
Lines changed: 1 addition & 1 deletion
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
3 | 3 |
| |
4 | 4 |
| |
5 | 5 |
| |
6 |
| - | |
| 6 | + | |
7 | 7 |
| |
8 | 8 |
| |
9 | 9 |
| |
|
Lines changed: 3 additions & 3 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
592 | 592 |
| |
593 | 593 |
| |
594 | 594 |
| |
595 |
| - | |
| 595 | + | |
596 | 596 |
| |
597 | 597 |
| |
598 |
| - | |
| 598 | + | |
599 | 599 |
| |
600 | 600 |
| |
601 |
| - | |
| 601 | + | |
602 | 602 |
| |
603 | 603 |
| |
604 | 604 |
| |
|
Lines changed: 2 additions & 2 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
100 | 100 |
| |
101 | 101 |
| |
102 | 102 |
| |
103 |
| - | |
| 103 | + | |
104 | 104 |
| |
105 | 105 |
| |
106 | 106 |
| |
| |||
125 | 125 |
| |
126 | 126 |
| |
127 | 127 |
| |
128 |
| - | |
| 128 | + | |
129 | 129 |
| |
130 | 130 |
| |
131 | 131 |
| |
|
Lines changed: 1 addition & 1 deletion
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
69 | 69 |
| |
70 | 70 |
| |
71 | 71 |
| |
72 |
| - | |
| 72 | + | |
73 | 73 |
| |
74 | 74 |
| |
75 | 75 |
| |
|
Lines changed: 1 addition & 1 deletion
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
164 | 164 |
| |
165 | 165 |
| |
166 | 166 |
| |
167 |
| - | |
| 167 | + | |
168 | 168 |
| |
169 | 169 |
| |
170 | 170 |
| |
|
Lines changed: 2 additions & 2 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
377 | 377 |
| |
378 | 378 |
| |
379 | 379 |
| |
380 |
| - | |
| 380 | + | |
381 | 381 |
| |
382 | 382 |
| |
383 | 383 |
| |
| |||
397 | 397 |
| |
398 | 398 |
| |
399 | 399 |
| |
400 |
| - | |
| 400 | + | |
401 | 401 |
| |
402 | 402 |
| |
403 | 403 |
| |
|
0 commit comments
Comments
(0)