# pgjdbc/r2dbc-postgresql

Postgresql R2DBC Driver

Repository: https://github.com/pgjdbc/r2dbc-postgresql
Canonical: https://ross.abutalabs.com/products/r2dbc-postgresql
Homepage: https://r2dbc.io
Language: Java
License: Apache-2.0
License Family: permissive
Topics: java, database, postgresql, reactive, reactive-streams
Last push: 2026-07-03T13:37:57+00:00

## Health v2 (maintenance only)
Score: 92/100 (v2, computed 2026-09-03T02:20:16.233290+00:00)
- activity 90, release rhythm 89, longevity 100
- inputs: {"age_days": 3005, "days_push": 61, "days_rel": 72, "gap_med": 18.5, "n_releases_24m": 7}
- flags: none
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 1096, forks 194 (observed 2026-08-28T04:03:34.408045+00:00)

## What it is
The PostgreSQL implementation of the R2DBC SPI, providing a reactive, non-blocking driver for PostgreSQL on the JVM. It supports SCRAM/MD5 authentication, TLS, Unix domain sockets, fail-over, notifications, logical decoding, and prepared statements with bindings.

## Use cases
- connect to postgresql reactively from java
- non-blocking database access in spring webflux
- reactive sql queries with project reactor
- listen to postgresql notifications reactively
- consume logical replication streams from postgres
- connect over unix domain socket to postgres
- multi-host connection fail-over for postgres

## When to choose
- you need reactive/non-blocking PostgreSQL access on the JVM
- you use Spring Data R2DBC or another R2DBC client
- you need LISTEN/NOTIFY or logical decoding in a reactive pipeline

## When to avoid
- you use blocking JDBC or traditional servlet stacks
- you use a database other than PostgreSQL
- you want a higher-level ORM rather than a driver

## Facets
- artifact type: library
- maturity: stable
- function: database-driver, database
- domain: databases, backend, web-development
- platform: jvm
- tags: r2dbc, postgresql, reactive-streams, non-blocking, sql

## Member repositories
- pgjdbc/r2dbc-postgresql (main) score 92

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:03:34.408045+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-30T06:47:11.717760+00:00, confidence not recorded.
  - readme: https://github.com/pgjdbc/r2dbc-postgresql (fetched 2026-08-28T04:03:34.408045+00:00, sha e2fc89aa6e88)
  - homepage: https://r2dbc.io (fetched 2026-08-29T12:50:00.913467+00:00, sha 367b00b6103b)
- Data as of 2026-08-30T08:39:29.467469+00:00.
