Commit 77260e8
committed
feat(sql_workbench): support GaussDB / PostgreSQL in SQL workbench whitelist
- SupportDBType: add DBTypeGaussDB + DBTypePostgreSQL to whitelist
(EARS-1.2 / decision-3 positive coverage for KF-2)
- convertDBType: add "GaussDB" -> "GAUSSDB" mapping immediately after
the existing "PostgreSQL" -> "POSTGRESQL" mapping (EARS-1.3 / CR-12
case-sensitivity normalization)
- unit tests:
- Test_convertDBType: new "GaussDB" case (13 total); existing
"PostgreSQL" / "Unknown passthrough" regressed unchanged
- Test_SupportDBType: flip "PostgreSQL" expected from false to true
(decision-3 lock); new "GaussDB supported" + "GaussDBForMySQL
unsupported" cases; existing SQL Server negative regression kept
- Test_SupportDBType_GaussDB_PG_family_consistency: hard assertion
PG family (PostgreSQL + GaussDB) whitelist coupling
Related: actiontech/dms-ee#8651 parent 0c651d4 commit 77260e8
2 files changed
Lines changed: 22 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
925 | 925 | | |
926 | 926 | | |
927 | 927 | | |
928 | | - | |
| 928 | + | |
929 | 929 | | |
930 | 930 | | |
931 | 931 | | |
932 | 932 | | |
933 | 933 | | |
934 | 934 | | |
| 935 | + | |
| 936 | + | |
935 | 937 | | |
936 | 938 | | |
937 | 939 | | |
| |||
963 | 965 | | |
964 | 966 | | |
965 | 967 | | |
966 | | - | |
| 968 | + | |
| 969 | + | |
| 970 | + | |
967 | 971 | | |
968 | 972 | | |
969 | 973 | | |
| |||
Lines changed: 16 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
23 | 23 | | |
24 | 24 | | |
25 | 25 | | |
| 26 | + | |
26 | 27 | | |
27 | 28 | | |
28 | 29 | | |
| |||
48 | 49 | | |
49 | 50 | | |
50 | 51 | | |
51 | | - | |
| 52 | + | |
52 | 53 | | |
53 | 54 | | |
| 55 | + | |
| 56 | + | |
54 | 57 | | |
55 | 58 | | |
56 | 59 | | |
| |||
61 | 64 | | |
62 | 65 | | |
63 | 66 | | |
| 67 | + | |
| 68 | + | |
| 69 | + | |
| 70 | + | |
| 71 | + | |
| 72 | + | |
| 73 | + | |
| 74 | + | |
| 75 | + | |
| 76 | + | |
| 77 | + | |
| 78 | + | |
0 commit comments