jackc / pgtype

MIT License
314 stars 112 forks source link

correctly Scan type aliases for floating point types #146

Closed collinforsyth closed 2 years ago

collinforsyth commented 2 years ago

Saw this bug ticket and used it as an opportunity to learn a bit more about pgx.

Let me know if there is anything missing, it seems like a pretty cut and dry issue to solve. I will admit my knowledge of the reflection library is relatively limited but I think this approach makes sense.

jackc commented 2 years ago

LGTM - thanks!

alarbada commented 2 years ago

Solved, can confirm! Thanks for the speedy fix