- Notifications
You must be signed in to change notification settings - Fork5
Commit2d1371d
committed
Be more clear when a new column name collides with a system column name.
We now use the same error message for ALTER TABLE .. ADD COLUMN orALTER TABLE .. RENAME COLUMN that we do for CREATE TABLE. The oldmessage was accurate, but might be confusing to users not aware of oursystem columns.Vik Reykja, with some changes by me, and further proofreading by Tom Lane1 parentd4bad4e commit2d1371d
File tree
4 files changed
+49
-21
lines changed- src
- backend/commands
- test/regress
- expected
- sql
4 files changed
+49
-21
lines changedLines changed: 44 additions & 20 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
304 | 304 |
| |
305 | 305 |
| |
306 | 306 |
| |
| 307 | + | |
307 | 308 |
| |
308 | 309 |
| |
309 | 310 |
| |
| |||
2257 | 2258 |
| |
2258 | 2259 |
| |
2259 | 2260 |
| |
2260 |
| - | |
2261 |
| - | |
2262 |
| - | |
2263 |
| - | |
2264 |
| - | |
2265 |
| - | |
2266 |
| - | |
2267 |
| - | |
2268 |
| - | |
| 2261 | + | |
2269 | 2262 |
| |
2270 | 2263 |
| |
2271 | 2264 |
| |
| |||
4310 | 4303 |
| |
4311 | 4304 |
| |
4312 | 4305 |
| |
4313 |
| - | |
4314 |
| - | |
4315 |
| - | |
4316 |
| - | |
4317 |
| - | |
4318 |
| - | |
4319 |
| - | |
4320 |
| - | |
4321 |
| - | |
4322 |
| - | |
4323 |
| - | |
| 4306 | + | |
| 4307 | + | |
4324 | 4308 |
| |
4325 | 4309 |
| |
4326 | 4310 |
| |
| |||
4562 | 4546 |
| |
4563 | 4547 |
| |
4564 | 4548 |
| |
| 4549 | + | |
| 4550 | + | |
| 4551 | + | |
| 4552 | + | |
| 4553 | + | |
| 4554 | + | |
| 4555 | + | |
| 4556 | + | |
| 4557 | + | |
| 4558 | + | |
| 4559 | + | |
| 4560 | + | |
| 4561 | + | |
| 4562 | + | |
| 4563 | + | |
| 4564 | + | |
| 4565 | + | |
| 4566 | + | |
| 4567 | + | |
| 4568 | + | |
| 4569 | + | |
| 4570 | + | |
| 4571 | + | |
| 4572 | + | |
| 4573 | + | |
| 4574 | + | |
| 4575 | + | |
| 4576 | + | |
| 4577 | + | |
| 4578 | + | |
| 4579 | + | |
| 4580 | + | |
| 4581 | + | |
| 4582 | + | |
| 4583 | + | |
| 4584 | + | |
| 4585 | + | |
| 4586 | + | |
| 4587 | + | |
| 4588 | + | |
4565 | 4589 |
| |
4566 | 4590 |
| |
4567 | 4591 |
| |
|
Lines changed: 2 additions & 0 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
7 | 7 |
| |
8 | 8 |
| |
9 | 9 |
| |
| 10 | + | |
| 11 | + | |
10 | 12 |
| |
11 | 13 |
| |
12 | 14 |
| |
|
Lines changed: 1 addition & 1 deletion
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
109 | 109 |
| |
110 | 110 |
| |
111 | 111 |
| |
112 |
| - | |
| 112 | + | |
113 | 113 |
| |
114 | 114 |
| |
115 | 115 |
| |
|
Lines changed: 2 additions & 0 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
9 | 9 |
| |
10 | 10 |
| |
11 | 11 |
| |
| 12 | + | |
| 13 | + | |
12 | 14 |
| |
13 | 15 |
| |
14 | 16 |
| |
|
0 commit comments
Comments
(0)