Closed evanbennett closed 5 years ago
I need the "extra_float_digits" configuration set to 3.
I can execute "SET extra_float_digits = 3;" after connection. Which is working in development.
I noticed https://github.com/mauricio/postgresql-async/blob/7dc83b91c153b74a1c94329ada43b3e15c51bb7f/postgresql-async/src/main/scala/com/github/mauricio/async/db/postgresql/codec/PostgreSQLConnectionHandler.scala#L72 which sets "extra_float_digits" to 2. When I change it locally to 3, it works.
Would you be interested in a pull-request that adds extra_float_digits to the Configuration class (defaulting to the current value) and updates PostgreSQLConnectionHandler to use it instead?
extra_float_digits
Configuration
PostgreSQLConnectionHandler
I need the "extra_float_digits" configuration set to 3.
I can execute "SET extra_float_digits = 3;" after connection. Which is working in development.
I noticed https://github.com/mauricio/postgresql-async/blob/7dc83b91c153b74a1c94329ada43b3e15c51bb7f/postgresql-async/src/main/scala/com/github/mauricio/async/db/postgresql/codec/PostgreSQLConnectionHandler.scala#L72 which sets "extra_float_digits" to 2. When I change it locally to 3, it works.
Would you be interested in a pull-request that adds
extra_float_digits
to theConfiguration
class (defaulting to the current value) and updatesPostgreSQLConnectionHandler
to use it instead?