diff --git a/doc/go1.9.html b/doc/go1.9.html index 03ff12d2eb..543a9ab74c 100644 --- a/doc/go1.9.html +++ b/doc/go1.9.html @@ -297,15 +297,33 @@ type T1 = T2
- TODO: https://golang.org/cl/35476: proper prepared statement support in transactions
+ The package will now use a cached Stmt if
+ available in Tx.Stmt.
+ This prevents statements from being re-prepared each time
+ Tx.Stmt is called.
+
+ The package now allows drivers to implement their own argument checkers by implementing
+ driver.NamedValueChecker.
+ This also allows drivers to support OUTPUT and INOUT parameter types.
+ Out should be used to return output parameters
+ when supported by the driver.
- TODO: https://golang.org/cl/39031: support scanning into user defined string types
+ Rows.Scan can now scan user-defined string types.
+ Previously the package supported scanning into numeric types like type Int int64. It now also supports
+ scanning into string types like type String string.
- TODO: https://golang.org/cl/40694: allow using a single connection from the database
+ The new DB.Conn method returns the new
+ Conn type representing an
+ exclusive connection to the database from the connection pool. All queries run on
+ a Conn will use the same underlying
+ connection until Conn.Close is called
+ to return the connection to the connection pool.