document Documentation

pgJDBC is the official JDBC driver for PostgreSQL®: pure Java, JDBC 4.2, production-grade. This documentation is organised by task: start with the section that matches what you need to do.

If you already know your way around JDBC and just want the knobs, jump straight to Connection properties for the complete catalogue, or to Recommended properties for the short list of non-default settings worth turning on in production.

If you are evaluating pgJDBC for a new project, go to Getting started for the Maven/Gradle dependency and a TLS-protected first connection. To check that your Java runtime and PostgreSQL server match a supported driver line, see Compatibility ; for the PostgreSQL server-side checks (TCP listener, pg_hba.conf, database encoding), see Server preparation .