Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

pycharm and postgres: ERROR: Unsupported startup parameter: extra_float_digits

Having issue to connect to PostgreSQL 9.0 database from PyCharm. I already tried adding older jdbc driver manually but still getting the same error: "ERROR: Unsupported startup parameter: extra_float_digits".

like image 327
misoK Avatar asked Apr 08 '16 08:04

misoK


2 Answers

I had this error using the PostgreSQL JDBC driver connecting to PgBouncer. The fix was to add the following to pgbouncer.ini (which was already in the file but commented out):

ignore_startup_parameters = extra_float_digits

(similar to the previous answer but different config file)

like image 65
Owen Pauling Avatar answered Nov 10 '22 16:11

Owen Pauling


The "fix" is to add this to the config.ini under the [pgbouncer] section:

ignore_startup_parameters = extra_float_digits

Details here: https://github.com/Athou/commafeed/issues/559

like image 45
mishaikon Avatar answered Nov 10 '22 18:11

mishaikon