2
0

Implement pgx.Conn.Exec in terms of pgconn.PgConn.Exec

This commit is contained in:
Jack Christensen
2019-01-02 12:32:36 -06:00
parent 23cbe89dfd
commit 12857ad05b
9 changed files with 194 additions and 31 deletions
+1 -1
View File
@@ -1083,7 +1083,7 @@ func TestConnQueryDatabaseSQLDriverValuerWithAutoGeneratedPointerReceiver(t *tes
mustExec(t, conn, "create temporary table t(n numeric)")
var d *apd.Decimal
commandTag, err := conn.Exec(`insert into t(n) values($1)`, d)
commandTag, err := conn.Exec(context.Background(), `insert into t(n) values($1)`, d)
if err != nil {
t.Fatal(err)
}