2
0

Use binary transcoding for inet/cidr

fixes #87
This commit is contained in:
Jack Christensen
2015-09-03 11:39:32 -05:00
parent 9af068add0
commit fd39261551
6 changed files with 85 additions and 50 deletions
+2 -2
View File
@@ -422,8 +422,8 @@ func TestQueryRowUnknownType(t *testing.T) {
conn := mustConnect(t, *defaultConnConfig)
defer closeConn(t, conn)
sql := "select $1::inet"
expected := "127.0.0.1"
sql := "select $1::point"
expected := "(1,0)"
var actual string
err := conn.QueryRow(sql, expected).Scan(&actual)