lib / pq

Pure Go Postgres driver for database/sql
https://pkg.go.dev/github.com/lib/pq
MIT License
9.01k stars 910 forks source link

Postgres 12 returns varchar as array of ints where version 9 returned strings. #957

Open wcn00 opened 4 years ago

wcn00 commented 4 years ago

Title pretty much says it. Is this difference in behavior documented someplace? I'd like to know how to control it, or know what version of database requires what sort of conversion.
Your thoughts are appreciated. wcn

melekhine commented 4 years ago

Please, provide actual SQL query