From b1885a643b4977c9089d77eb07c0fd96591f94b8 Mon Sep 17 00:00:00 2001 From: Cedric GESTES Date: Mon, 4 Sep 2017 16:39:19 +0200 Subject: [PATCH] Support cloudsqlpostgres dialect (#1577) 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. --- dialect_postgres.go | 1 + 1 file changed, 1 insertion(+) diff --git a/dialect_postgres.go b/dialect_postgres.go index 75aef9ba..6fdf4df1 100644 --- a/dialect_postgres.go +++ b/dialect_postgres.go @@ -13,6 +13,7 @@ type postgres struct { func init() { RegisterDialect("postgres", &postgres{}) + RegisterDialect("cloudsqlpostgres", &postgres{}) } func (postgres) GetName() string {