Expand description
PostgreSQL on-demand lookup source for cache-miss fallback.
A deadpool-pooled client issues one parameterized WHERE pk = ANY($1)
per fetch, so all missed keys of a probe fold into one index-served round
trip. KeyAligner handles key decode and result realignment.
TLS is server-auth via rustls: verified chain and hostname is the default,
using ssl.ca.cert.path when set and Mozilla roots otherwise. Plaintext is
available only through explicit ssl.mode=disable. Weaker libpq modes are
rejected rather than presented as aliases. v1 limits: single-column key,
server-auth only (no mTLS client certs).
Structsยง
- Postgres
Lookup Source PostgreSQLlookup source for on-demand/partial cache mode.- Postgres
Lookup Source Config - Configuration for
PostgresLookupSource.