# PostgreSQL JDBC Driver

> The open source JDBC driver for PostgreSQL, in pure Java

Source: https://talira.ai/catalog/postgresql-jdbc-driver-cjx6zz13
Every listing: https://talira.ai/catalog.md

- Kind: Open source
- Types: Library
- Categories: [libraries / databases / drivers](https://talira.ai/categories/libraries/databases/drivers)
- Licence: BSD-2-Clause[^2]
- Pricing: Free and open source[^2]
- Free tier: yes[^2]
- Backed by: [The PostgreSQL Global Development Group](https://talira.ai/orgs/postgresql-global-dev-group.md)

The PostgreSQL JDBC Driver (pgJDBC) lets Java programs connect to a [PostgreSQL](https://talira.ai/catalog/postgresql-cm55wcnd.md) database using standard, database-independent JDBC code. It's a Type 4 driver written in pure Java that speaks PostgreSQL's native network protocol, so it runs on any system once compiled, and it implements most of the JDBC specification plus PostgreSQL-specific extensions. Connection properties cover SSL and its modes, SCRAM, GSSAPI and SSPI authentication, adaptive fetch sizes and more. It's the org.postgresql:postgresql artifact on Maven Central and is maintained under the PostgreSQL Global Development Group.

## Links

- Website: https://jdbc.postgresql.org/
- GitHub: https://github.com/pgjdbc/pgjdbc
- Docs: https://jdbc.postgresql.org/documentation/

## Problems it solves

- connect my Java application to a PostgreSQL database
- use PostgreSQL from Spring, Hibernate or another JVM framework
- query Postgres from Kotlin or Scala over JDBC

## Features

- Type 4 driver in pure Java, platform independent
- JDBC 4.2 with PostgreSQL-specific extensions
- SSL with configurable sslmode and client certificates
- SCRAM-SHA-256, GSSAPI and SSPI authentication
- adaptive fetch size

## Limitations

- Needs Java 8 (JDBC 4.2) or later, and PostgreSQL 8.4 or later[^1]

## Trust

Overall: 0.66 out of 1.
Signals: maintenance 1.00, adoption 0.65, momentum 0.31, community 1.00, backing 0.30, extensibility 0.00.

- last commit 3 days ago
- 159 commits in the last 90 days
- latest release REL42.7.15 6 days ago
- 1.7k GitHub stars
- 361 contributors
- backed by The PostgreSQL Global Development Group

## Related

- Works with [PostgreSQL](https://talira.ai/catalog/postgresql-cm55wcnd.md)

## Alternatives

- [SQLite JDBC Driver](https://talira.ai/catalog/sqlite-jdbc-driver-gdx3bahr.md): A JDBC driver for SQLite with native libraries bundled in one JAR
- [MongoDB Java Driver](https://talira.ai/catalog/mongodb-java-driver-193c8705.md): MongoDB's official drivers for Java, Kotlin and Scala

## Sources

[^1]: https://github.com/pgjdbc/pgjdbc/blob/master/README.md (checked 27 Nov 2026)
[^2]: https://github.com/pgjdbc/pgjdbc/blob/master/LICENSE (checked 27 Nov 2026)
