Skip to content

Commit

Permalink
added support for the cloudsqlpostgres driver
Browse files Browse the repository at this point in the history
  • Loading branch information
cmoad committed Feb 24, 2018
1 parent 05cef07 commit 0d26b5f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion bind.go
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 0d26b5f

Please sign in to comment.