jackc / pgtype

MIT License
314 stars 112 forks source link

Support pointers of Numeric #114

Open taichi opened 3 years ago

taichi commented 3 years ago

It is now possible to scan a Numeric pointer for values. This is because all pointer types that can be converted from the already implemented Numeric types will lose some information.

relates to jackc/pgx#1000

jackc commented 3 years ago

Can you provide an example of how this would be used? I don't understand the use case. Especially because it is very unusual to use pgtype.Numeric directly.