node-postgres icon indicating copy to clipboard operation
node-postgres copied to clipboard

fix: Precision loss on extremely large floating-point numbers

Open SevInf opened this issue 2 years ago • 0 comments

Sets extra_float_digits setting to 1 when connecting to DB. For older (<12) Postgres, this should be enough to cover all values JS can store preciesely. For 12+ postgres this setting should have no effect.

Fix #3092

SevInf avatar Nov 06 '23 14:11 SevInf