fix postgres datatype NUMERIC scan #1969

Closed
i4colorfixer wants to merge 1 commits from master into master
First-time contributor
No description provided.
i4colorfixer added 1 commit 2021-07-06 09:18:38 +00:00
fix postgres datatype NUMERIC scan
All checks were successful
continuous-integration/drone/pr Build is passing
6d45bb8d6c
Owner

Which type should we use for numeric? float64, string or big.Float?

Which type should we use for numeric? `float64`, `string` or `big.Float`?
Contributor

Which type should we use for numeric? float64, string or big.Float?

i guess float64

> Which type should we use for numeric? `float64`, `string` or `big.Float`? i guess float64
Owner

Which type should we use for numeric? float64, string or big.Float?

i guess float64

But that may lose some precision. Maybe string is better or big.Float.

> > Which type should we use for numeric? `float64`, `string` or `big.Float`? > > i guess float64 But that may lose some precision. Maybe `string` is better or `big.Float`.
Contributor

Which type should we use for numeric? float64, string or big.Float?

i guess float64

But that may lose some precision. Maybe string is better or big.Float.

我没有精确的测试过。string肯定不行,类型都不对了。那估计就是用big.Float

> > > Which type should we use for numeric? `float64`, `string` or `big.Float`? > > > > i guess float64 > > But that may lose some precision. Maybe `string` is better or `big.Float`. 我没有精确的测试过。string肯定不行,类型都不对了。那估计就是用big.Float
Owner

I think string is a better one.

I think string is a better one.
Owner

outdated

outdated
lunny closed this pull request 2023-07-22 15:37:00 +00:00
All checks were successful
continuous-integration/drone/pr Build is passing

Pull request closed

Sign in to join this conversation.
No description provided.