Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

On Postgres Instance Restart Fatal Error #175

Open
pendula95 opened this issue Nov 22, 2019 · 0 comments
Open

On Postgres Instance Restart Fatal Error #175

pendula95 opened this issue Nov 22, 2019 · 0 comments

Comments

@pendula95
Copy link
Member

Version

  • vert.x core: 3.8.1
  • vert.x jdbc-client: 3.8.1
  • jdbc driver: postgres
  • RDBMS:

General info

  • What is your jdbc driver
  • What is your RDBMS server
  • What is your connection string (no user/passwords please!)
    JsonObject dbSettings = new JsonObject() .put("url", "jdbc:postgresql://" + System.getProperty("db.host") + ":5432/" + System.getProperty("db.database") + "?currentSchema=" + System.getProperty("db.schema", "public")) .put("user", System.getProperty("db.user")) .put("password", System.getProperty("db.password"));

Context

Application is started and connected to DB. Queries are preformed as expected.
Postgres instance is restarted.
First query request after restarts results in error:

FATAL: terminating connection due to administrator command

Next query works normal. Only first one after restarts fails.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

1 participant