Skip to main content
Follow the SQL mount and credential guide. Bind postgresRelation(endpoint, credential, data) to the project’s direct database endpoint, or its shared Supavisor session endpoint on port 5432. The direct endpoint normally requires IPv6, with an IPv4 add-on available. The shared session endpoint uses a username with the project suffix and accepts prepared statements. Use the exact hostname and username from the connection panel. Seal the matching CA as ca PEM text if needed. Use the same data label for the receiver and the mount. The connector uses the database password and PostgreSQL wire protocol. It sets the page session’s PostgreSQL options with SQL after login, then locks the relation and queries the full key in a read-only repeatable-read transaction. The shared transaction endpoint on port 6543 does not support the prepared statement path used here. PostgREST, Supabase Realtime, Supabase Auth tokens and write operations are separate modes outside this profile. A least-privilege database role and its row-level security determine what this source can see. Bijection commits up to 32 rows and 48 KiB of encoded data per page with the full bigint or text primary key. Each row JSON is capped at 24 KiB. A detected relation identity change requires reset. Missing keys stay published even when row-level visibility changes. Supabase direct and pooled connection modes