Implement pgx.Conn.Exec in terms of pgconn.PgConn.Exec
This commit is contained in:
+1
-1
@@ -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)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user