Fix: correctly handle bool type aliases
https://github.com/jackc/pgx/issue/1593
This commit is contained in:
committed by
Jack Christensen
parent
9de41fac75
commit
c1c67e4e58
@@ -1519,6 +1519,7 @@ var kindToTypes map[reflect.Kind]reflect.Type = map[reflect.Kind]reflect.Type{
|
||||
reflect.Float32: reflect.TypeOf(float32(0)),
|
||||
reflect.Float64: reflect.TypeOf(float64(0)),
|
||||
reflect.String: reflect.TypeOf(""),
|
||||
reflect.Bool: reflect.TypeOf(false),
|
||||
}
|
||||
|
||||
type underlyingTypeEncodePlan struct {
|
||||
|
||||
Reference in New Issue
Block a user