Closed xhit closed 4 years ago
When I try to get all columns type of rows with rows.ColumnTypes() nothing is returned when column is MACADDR8
rows.ColumnTypes()
Example:
types, _ := rows.ColumnTypes() for _, v := range types { log.Printf("%s", v.DatabaseTypeName()) }
Documentation for this datatype: https://www.postgresql.org/docs/10/datatype-net-types.html#DATATYPE-MACADDR8
Solved with go run gen.go in OID folder
go run gen.go
When I try to get all columns type of rows with
rows.ColumnTypes()
nothing is returned when column is MACADDR8Example:
Documentation for this datatype: https://www.postgresql.org/docs/10/datatype-net-types.html#DATATYPE-MACADDR8