This guide explains how to connect to Relyt (PostgreSQL‑compatible) using psql, popular drivers, and GUI tools. It covers general connection settings and security, where to find your connection parameters, and concise examples plus troubleshooting for common clients.
-pooler
suffix.
pool_mode=transaction
(see feature details)sslmode=require
. For stronger protection against man-in-the-middle attacks, prefer sslmode=verify-ca
or sslmode=verify-full
. When using verify-ca
or verify-full
, ensure the appropriate CA root is available on the host or provide sslrootcert
explicitly.
sslmode | Verification and Behavior | |
---|---|---|
require | Minimum required | TLS required; no CA/hostname verification |
verify-ca | Recommended | TLS required; verifies CA; provide sslrootcert if needed |
verify-full | Recommended | TLS required; verifies CA and hostname; provide sslrootcert if needed |
psycopg2-binary
is a pre-compiled binary version that is more convenient to install and suitable for most use cases.
pg_stat_activity
. This is very useful for troubleshooting and performance monitoring. Reference Documentation: https://jdbc.postgresql.org/documentation/use/ERROR: Endpoint ID is not specified. Either please upgrade the postgres client library (libpq) for SNI support or pass the endpoint ID (first part of the domain name) as a parameter: ‘?options=project%3D’.Solutions: Upgrade your PostgreSQL client: Install psql (libpq) >= 14 for full SNI support