Skip to content

Commit

Permalink
Merge pull request jmoiron#391 from andcostello/master
Browse files Browse the repository at this point in the history
added support for the cloudsqlpostgres driver
  • Loading branch information
jmoiron authored Feb 28, 2018
2 parents 6765e6a + 0d26b5f commit 5800ac0
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 5800ac0

Please sign in to comment.