From 79b28d24e22eb0a4ff41fc00b03a3e5e71a5b91d Mon Sep 17 00:00:00 2001 From: Jack Christensen Date: Sat, 21 Jan 2017 16:01:21 -0600 Subject: [PATCH] Add todo to v3 --- v3.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/v3.md b/v3.md index b64c734a..f6bccb29 100644 --- a/v3.md +++ b/v3.md @@ -42,3 +42,5 @@ Make easier / possible to mock Conn or ConnPool (https://github.com/jackc/pgx/pu Every field that should not be set by user should be replaced by accessor method (e.g. Conn.PID, Conn.SecretKey) Investigate strongly typed queries. i.e. Some sort of interface where varargs of Query, Exec, and Scan wouldn't happen. Need to be some low-level interface where (probably generated) functions could (more or less) directly read and write to the connection. + +Reject scanning non-string like things into a string (e.g. binary encoded timestamptz to string). See https://github.com/jackc/pgx/issues/223