Default limits
These are the defaults for a self-hosted server. Operators can change them (see the configuration reference), so a managed deployment may use different values.Compatibility notes
- SQL dialect: SQL runs on DuckDB. Most PostgreSQL queries work unchanged, but functions and some syntax follow DuckDB. See SQL support.
- Extended query protocol: prepared statements work for common use. If a driver fails on complex prepared-statement flows, switch it to the simple query protocol (for example
autocommit=Truein psycopg2, orpreferQueryMode=simplein JDBC). - System catalogs:
pg_catalogqueries are answered by a compatibility layer, so some tools show partial metadata. - Extensions: only allowlisted DuckDB extensions can be installed or loaded.
- Revoked credentials: revoking a credential blocks new logins. Connections that are already open aren’t terminated.
Troubleshooting
database "..." does not exist (3D000)
database "..." does not exist (3D000)
dbname parameter (psql -d). With the control plane, create the database first with POST /admin/v1/tenants. Without it, the database is named airhouse unless the operator changed it.password authentication failed (28P01)
password authentication failed (28P01)
GET /admin/v1/tenants/{id}/users.Permission denied: ... is not allowed for a read-only credential (42501)
Permission denied: ... is not allowed for a read-only credential (42501)
read_only, can only run queries over the tenant’s tables, and the statement you sent is something else, however it is dressed. Rewrite it as a plain SELECT, or ask an admin for a different role. See Users, roles, and security.syntax error at or near ...: the query does not parse as DuckDB SQL (42501)
syntax error at or near ...: the query does not parse as DuckDB SQL (42501)
count(*) days does not parse, and count(*) AS days does.Permission denied: Writer role cannot execute ... statements (42501)
Permission denied: Writer role cannot execute ... statements (42501)
CREATE, ALTER, or DROP. Ask an admin to run the DDL or to give you a different role. See Users, roles, and security.write to ... refused: this credential may write only in schemas [...] (42501)
write to ... refused: this credential may write only in schemas [...] (42501)
schema.table in an allowed schema. See Schema-scoped writers.The connection closed on the first query
The connection closed on the first query
Query timed out after ...s
Query timed out after ...s
query_timeout_secs.Rate limit exceeded
Rate limit exceeded
Tables disappear after I disconnect
Tables disappear after I disconnect
lake catalog, for example in DuckDB’s memory or temp catalog, or after a USE statement switched the session away from lake. Create persistent tables with fully qualified names such as lake.main.my_table.psycopg2 hangs or behaves unexpectedly
psycopg2 hangs or behaves unexpectedly
conn.set_session(autocommit=True) right after connecting. See Connect from code.An extension fails to load (42501)
An extension fails to load (42501)
allowed_extensions.