node-postgres
node-postgres copied to clipboard
fix: Precision loss on extremely large floating-point numbers
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