lib / pq

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

feature: inbuilt support for for int32/float32/[]byte slices in pq.Array #875

Closed Shivam010 closed 3 years ago

Shivam010 commented 5 years ago

For scanning int32 or float32 or []byte slices, we have to wrap a custom scanner/valuer around them to be able to use Scan/Value.

pq.Array does not have support for slices of 32 bit-size data-types.

The support should be added. I have a PR for it

guenhter commented 3 years ago

@Shivam010 I guess this can be closed, can't it?

Shivam010 commented 3 years ago

Yes indeed. Thanks to you, now I can be back to lib/pq instead of my fork.