Connect

Establishing a JDBC connection to PostgreSQL: URL forms, the non-default properties worth turning on in production, the timeouts that bound each phase of the handshake and the lifetime of an established connection, production connection pooling with HikariCP / Tomcat JDBC / c3p0, multi-host fail-over and load balancing, Unix-domain sockets.

For TLS configuration and authentication see Security ; for the complete reference of every connection property see Connection properties .