Add v3 todos

v3-experimental-wait-ping-context
Jack Christensen 2016-08-02 16:59:07 -05:00
parent e47373227b
commit 2578cba288
1 changed files with 22 additions and 1 deletions

23
v3.md
View File

@ -1,4 +1,6 @@
# V3 Changes
# V3 Experimental
## Changes
Rename Oid to OID in accordance with Go naming conventions.
@ -9,3 +11,22 @@ Rename Pid to PID in accordance with Go naming conventions.
Rename Uuid to UUID in accordance with Go naming conventions.
Logger interface reduced to single Log method.
## TODO / Possible / Investigate
Organize errors better
Optionally use Go 1.7 context
Remove circular dependency between Conn and ConnPool such that ConnPool depends on Conn, but Conn doesn't know anything about ConnPool
Extract types Null* and Hstore to separate package
Remove names from prepared statements - use database/sql style objects
Better way of handling text/binary protocol choice than pgx.DefaultTypeFormats or manually editing a PreparedStatement. Possibly an optional part of preparing a statement is specifying the format and/or a decoder. Or maybe it is part of a QueryEx call... Could be very interesting to make encoding and decoding possible without being a method of the type. This could drastically clean up those huge type switches.
Copy protocol support (this potentially ties in with text/binary protocol)
ValueReader / msgReader cleanup
Make easier / possible to mock Conn or ConnPool (https://github.com/jackc/pgx/pull/162)