|
@@ -216,7 +216,7 @@ Because the wire is PostgreSQL-compatible, drivers may issue introspection queri
|
|
|
The managed database.pizza proxy layers additional behavior on top of PizzaSQL:
|
|
The managed database.pizza proxy layers additional behavior on top of PizzaSQL:
|
|
|
|
|
|
|
|
- API keys with `read`, `write`, `alter_table`, and `drop_table` scopes gate statements.
|
|
- API keys with `read`, `write`, `alter_table`, and `drop_table` scopes gate statements.
|
|
|
-- PostgreSQL TLS terminates at the managed proxy when `PGPROXY_TLS_CERT`/`PGPROXY_TLS_KEY` are configured. Clients can use `sslmode=require` (or `verify-full` with a trusted, hostname-matching certificate). When `PGPROXY_REQUIRE_TLS=true`, plaintext startup is rejected with `08P01`. If a deployment has not installed certificates, `SSLRequest` is declined and only `sslmode=disable` connects; use that only over a trusted hop. TLS ends at the proxy — the loopback hop to PizzaSQL is plaintext.
|
|
|
|
|
|
|
+- PostgreSQL TLS terminates at the managed proxy when `PGPROXY_TLS_CERT`/`PGPROXY_TLS_KEY` are configured. `PGPROXY_TLS_MODE=optional` (the default with a certificate) offers TLS while keeping `sslmode=disable` clients working; `required` rejects plaintext startup with `08P01`; `off` disables TLS. Clients can use `sslmode=require` (or `verify-full` with a trusted, hostname-matching certificate). If a deployment has not installed certificates, `SSLRequest` is declined and only `sslmode=disable` connects; use that only over a trusted hop. TLS ends at the proxy — the loopback hop to PizzaSQL is plaintext.
|
|
|
- Exhausting the per-organization connection quota returns SQLSTATE `53300` with the current/limit numbers and a retry hint. Quota and idle-connection behavior are documented in [Limits & quotas](/guides/limits/#connections-and-idle-disconnects).
|
|
- Exhausting the per-organization connection quota returns SQLSTATE `53300` with the current/limit numbers and a retry hint. Quota and idle-connection behavior are documented in [Limits & quotas](/guides/limits/#connections-and-idle-disconnects).
|
|
|
- The PostgreSQL database name is `org/db`; the slash must be percent-encoded in a URI.
|
|
- The PostgreSQL database name is `org/db`; the slash must be percent-encoded in a URI.
|
|
|
- Transaction statements are rejected by the managed HTTP query endpoints and forwarded by the PostgreSQL proxy.
|
|
- Transaction statements are rejected by the managed HTTP query endpoints and forwarded by the PostgreSQL proxy.
|