forked frompostgres/postgres
- Notifications
You must be signed in to change notification settings - Fork6
Commit0172b4c
committed
Add some regression tests for missing DDL patterns
The following commands gain increased coverage for some of the errorsthey can trigger:- ALTER TABLE .. ALTER COLUMN- CREATE DOMAIN- CREATE TYPE (LIKE)This has come up while discussing the possibility to add moreinformation about the location of the error in such queries, and itis useful on its own as there was no coverage until now for thepatterns added in this commit.Author: Jian He, Kirill ReshkeReviewed-By: Álvaro Herrera, Michael PaquierDiscussion:https://postgr.es/m/CALdSSPhqfvKbDwqJaY=yEePi_aq61GmMpW88i6ZH7CMG_2Z4Cg@mail.gmail.com1 parent430a595 commit0172b4c
File tree
8 files changed
+59
-0
lines changed- src/test/regress
- expected
- sql
8 files changed
+59
-0
lines changedLines changed: 7 additions & 0 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
3413 | 3413 |
| |
3414 | 3414 |
| |
3415 | 3415 |
| |
| 3416 | + | |
| 3417 | + | |
| 3418 | + | |
| 3419 | + | |
| 3420 | + | |
| 3421 | + | |
| 3422 | + | |
3416 | 3423 |
| |
3417 | 3424 |
| |
3418 | 3425 |
| |
|
Lines changed: 27 additions & 0 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
15 | 15 |
| |
16 | 16 |
| |
17 | 17 |
| |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
18 | 45 |
| |
19 | 46 |
| |
20 | 47 |
| |
|
Lines changed: 2 additions & 0 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
1024 | 1024 |
| |
1025 | 1025 |
| |
1026 | 1026 |
| |
| 1027 | + | |
| 1028 | + | |
1027 | 1029 |
| |
1028 | 1030 |
| |
1029 | 1031 |
| |
|
Lines changed: 2 additions & 0 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
43 | 43 |
| |
44 | 44 |
| |
45 | 45 |
| |
| 46 | + | |
| 47 | + | |
46 | 48 |
| |
47 | 49 |
| |
48 | 50 |
| |
|
Lines changed: 5 additions & 0 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
2145 | 2145 |
| |
2146 | 2146 |
| |
2147 | 2147 |
| |
| 2148 | + | |
| 2149 | + | |
| 2150 | + | |
| 2151 | + | |
| 2152 | + | |
2148 | 2153 |
| |
2149 | 2154 |
| |
2150 | 2155 |
| |
|
Lines changed: 14 additions & 0 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
16 | 16 |
| |
17 | 17 |
| |
18 | 18 |
| |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
19 | 33 |
| |
20 | 34 |
| |
21 | 35 |
| |
|
Lines changed: 1 addition & 0 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
328 | 328 |
| |
329 | 329 |
| |
330 | 330 |
| |
| 331 | + | |
331 | 332 |
| |
332 | 333 |
| |
333 | 334 |
| |
|
Lines changed: 1 addition & 0 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
19 | 19 |
| |
20 | 20 |
| |
21 | 21 |
| |
| 22 | + | |
22 | 23 |
| |
23 | 24 |
| |
24 | 25 |
| |
|
0 commit comments
Comments
(0)