diff --git a/connection_test.go b/connection_test.go index 957a6423..d86f9bdd 100644 --- a/connection_test.go +++ b/connection_test.go @@ -324,6 +324,7 @@ func TestPrepare(t *testing.T) { testTranscode("select $1::int8", int64(1)) testTranscode("select $1::float4", float32(1.23)) testTranscode("select $1::float8", float64(1.23)) + testTranscode("select $1::boolean", true) // case []byte: // s = `E'\\x` + hex.EncodeToString(arg) + `'`