0

I am tryng to configure a connection to postrgresql db server via Services window of Netbeans 7.3.1 and I get the following error: Cannot establish a connection to jdbc:postgresql://xxx.xxx.xx:5432/ using org.postgresql.Driver (ERROR: Unsupported startup parameter: extra_float_digits)

I have foud a possible workaround : ignore_startup_parameters = extra_float_digits Is there some way to set this parameter in a config file?

Thanks

5
  • 1
    What is your driver version and what is your Postgres version? Commented Sep 16, 2014 at 14:35
  • At a guess you're connecting to a truly ancient PostgreSQL version. Commented Sep 16, 2014 at 14:48
  • Postgresql is 9.0.3.2, the jdbc driver is postgresql-9.2-1002.jdbc4.jar Commented Sep 16, 2014 at 15:10
  • Have you found a solution for your problem so far? I'm having similar issue. Commented Oct 30, 2014 at 14:31
  • I do not use netbeans client at the moment. I am waiting for a solution Commented Nov 1, 2014 at 10:32

1 Answer 1

1

From PostgreSQL 9.2, a new server parameter extra_float_digits is added to control precision display of floating-point numbers Source. I think that it is better to use the right jdbc version for your server PostgreSQL version(9.0.3.2). In your case 9.0-802 JDBC 4

Sign up to request clarification or add additional context in comments.

1 Comment

Thanks for the answer, but it does not work, same error.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.