Overview of SpiceDB Postgres FDW Proxy
mainThe SpiceDB Postgres FDW (Foreign Data Wrapper) proxy acts as a translation layer that implements the PostgreSQL wire protocol. It converts incoming SQL queries into SpiceDB API calls, enabling standard PostgreSQL clients (like psql or application drivers) and existing PostgreSQL databases to interact with SpiceDB's permissions and relationships data as if they were standard PostgreSQL tables.
To use this, a PostgreSQL database must have the postgres_fdw extension enabled. The proxy exposes foreign tables for:
permissionsrelationshipsschema