Support cloudsqlpostgres dialect
This is needed for proper cloud sql proxy. see https://github.com/GoogleCloudPlatform/cloudsql-proxy and https://github.com/GoogleCloudPlatform/cloudsql-proxy/blob/master/proxy/dialers/postgres/hook_test.go for details.
This commit is contained in:
parent
c3bb6aaa82
commit
e17a7bbfdc
@ -13,6 +13,7 @@ type postgres struct {
|
||||
|
||||
func init() {
|
||||
RegisterDialect("postgres", &postgres{})
|
||||
RegisterDialect("cloudsqlpostgres", &postgres{})
|
||||
}
|
||||
|
||||
func (postgres) GetName() string {
|
||||
|
Loading…
x
Reference in New Issue
Block a user