From 0d26b5f20f6260c657aea8335958b404f9b97509 Mon Sep 17 00:00:00 2001 From: cwmoad Date: Sat, 24 Feb 2018 12:14:02 -0500 Subject: [PATCH] added support for the cloudsqlpostgres driver --- bind.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bind.go b/bind.go index b81e6fc6..61413edc 100644 --- a/bind.go +++ b/bind.go @@ -21,7 +21,7 @@ const ( // BindType returns the bindtype for a given database given a drivername. func BindType(driverName string) int { switch driverName { - case "postgres", "pgx", "pq-timeouts": + case "postgres", "pgx", "pq-timeouts", "cloudsqlpostgres": return DOLLAR case "mysql": return QUESTION