2

Is it valid to use a dynamic name entry from the /etc/hosts file in the host part of a JDBC connection URL of the form jdbc:postgresql://host:port/database.

1 Answer 1

4

Yes. Host lookups are performed using the underlying OS which will check the hosts file.

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

1 Comment

Thanks. Before putting everything into question, it helps to look elsewhere.

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.