Support 'postgresql' schema designator (#19275)
Этот коммит содержится в:
коммит произвёл
GitHub
родитель
664af506a3
Коммит
4a1a0863c4
@@ -159,10 +159,15 @@ func TestIsDatabaseDSN(t *testing.T) {
|
||||
Expected: true,
|
||||
},
|
||||
{
|
||||
Name: "Postgresql DSN",
|
||||
Name: "Postgresql 'postgres' DSN",
|
||||
DSN: "postgres://localhost",
|
||||
Expected: true,
|
||||
},
|
||||
{
|
||||
Name: "Postgresql 'postgresql' DSN",
|
||||
DSN: "postgresql://localhost",
|
||||
Expected: true,
|
||||
},
|
||||
{
|
||||
Name: "Empty DSN",
|
||||
DSN: "",
|
||||
|
||||
Ссылка в новой задаче
Block a user