forked frompostgres/postgres
- Notifications
You must be signed in to change notification settings - Fork6
Commit34b44c3
committed
Improve consistency of the error messages generated when you try to use
ALTER TABLE on a composite type or ALTER TYPE on a table's rowtype.We already rejected these cases, but the error messages were a bitrandom and didn't always provide a HINT to use the other command type.1 parente6022e7 commit34b44c3
2 files changed
+50
-24
lines changedLines changed: 45 additions & 20 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
8 | 8 |
| |
9 | 9 |
| |
10 | 10 |
| |
11 |
| - | |
| 11 | + | |
12 | 12 |
| |
13 | 13 |
| |
14 | 14 |
| |
| |||
5430 | 5430 |
| |
5431 | 5431 |
| |
5432 | 5432 |
| |
5433 |
| - | |
5434 | 5433 |
| |
| 5434 | + | |
| 5435 | + | |
| 5436 | + | |
| 5437 | + | |
| 5438 | + | |
| 5439 | + | |
| 5440 | + | |
| 5441 | + | |
| 5442 | + | |
5435 | 5443 |
| |
5436 | 5444 |
| |
5437 | 5445 |
| |
| |||
6478 | 6486 |
| |
6479 | 6487 |
| |
6480 | 6488 |
| |
6481 |
| - | |
| 6489 | + | |
6482 | 6490 |
| |
6483 | 6491 |
| |
6484 | 6492 |
| |
6485 | 6493 |
| |
6486 |
| - | |
6487 |
| - | |
6488 |
| - | |
6489 |
| - | |
6490 |
| - | |
6491 |
| - | |
6492 |
| - | |
6493 |
| - | |
6494 |
| - | |
| 6494 | + | |
| 6495 | + | |
6495 | 6496 |
| |
6496 |
| - | |
6497 |
| - | |
| 6497 | + | |
| 6498 | + | |
| 6499 | + | |
| 6500 | + | |
| 6501 | + | |
| 6502 | + | |
| 6503 | + | |
| 6504 | + | |
| 6505 | + | |
6498 | 6506 |
| |
6499 |
| - | |
| 6507 | + | |
| 6508 | + | |
| 6509 | + | |
| 6510 | + | |
| 6511 | + | |
| 6512 | + | |
| 6513 | + | |
| 6514 | + | |
| 6515 | + | |
| 6516 | + | |
6500 | 6517 |
| |
6501 |
| - | |
6502 |
| - | |
6503 |
| - | |
6504 |
| - | |
6505 |
| - | |
| 6518 | + | |
| 6519 | + | |
| 6520 | + | |
| 6521 | + | |
| 6522 | + | |
| 6523 | + | |
| 6524 | + | |
| 6525 | + | |
| 6526 | + | |
| 6527 | + | |
| 6528 | + | |
| 6529 | + | |
| 6530 | + | |
6506 | 6531 |
| |
6507 | 6532 |
| |
6508 | 6533 |
| |
|
Lines changed: 5 additions & 4 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
8 | 8 |
| |
9 | 9 |
| |
10 | 10 |
| |
11 |
| - | |
| 11 | + | |
12 | 12 |
| |
13 | 13 |
| |
14 | 14 |
| |
| |||
2355 | 2355 |
| |
2356 | 2356 |
| |
2357 | 2357 |
| |
2358 |
| - | |
2359 |
| - | |
| 2358 | + | |
| 2359 | + | |
| 2360 | + | |
2360 | 2361 |
| |
2361 | 2362 |
| |
2362 | 2363 |
| |
| |||
2592 | 2593 |
| |
2593 | 2594 |
| |
2594 | 2595 |
| |
2595 |
| - | |
| 2596 | + | |
2596 | 2597 |
| |
2597 | 2598 |
| |
2598 | 2599 |
| |
|
0 commit comments
Comments
(0)