Skip to content

Commit

Permalink
support pgx/stdlib to drive PostgreSQL. (#180)
Browse files Browse the repository at this point in the history
  • Loading branch information
IsvaraWoo authored and taylorchu committed Jun 26, 2019
1 parent a6e6512 commit cb95004
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion dbr.go
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ func Open(driver, dsn string, log EventReceiver) (*Connection, error) {
switch driver {
case "mysql":
d = dialect.MySQL
case "postgres":
case "postgres", "pgx":
d = dialect.PostgreSQL
case "sqlite3":
d = dialect.SQLite3
Expand Down

0 comments on commit cb95004

Please sign in to comment.