You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: apps/docs/content/guides/database/custom-postgres-config.mdx
+18-12Lines changed: 18 additions & 12 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -48,18 +48,24 @@ show "statement_timeout";
48
48
49
49
Some settings can only be modified by a superuser. Supabase pre-enables the [`supautils` extension](https://supabase.com/blog/roles-postgres-hooks#setting-up-the-supautils-extension), which allows the `postgres` role to retain certain superuser privileges. It enables modification of the below reserved configurations at the `role` level:
|`log_min_messages`| Minimum severity level of messages to log. |
56
-
|`pg_net.ttl`| Sets how long the [pg_net extension](/docs/guides/database/extensions/pg_net) saves responses |
57
-
|`pg_net.batch_size`| Sets how many requests the [pg_net extension](/docs/guides/database/extensions/pg_net) can make per second |
58
-
|`pgaudit.*`| Configures the [PGAudit extension](https://supabase.com/docs/guides/database/extensions/pgaudit). The `log_parameter` is still restricted to protect secrets |
|`auto_explain.*`| Configures the [auto_explain module](https://www.postgresql.org/docs/current/auto-explain.html). Can be configured to log execution plans for queries expected to exceed x seconds, including function queries. |
54
+
|`log_lock_waits`| Controls whether a log message is produced when a session waits longer than [deadlock_timeout](https://www.postgresql.org/docs/current/runtime-config-locks.html#GUC-DEADLOCK-TIMEOUT) to acquire a lock. |
55
+
|`log_min_duration_statement`| Causes the duration of each completed statement to be logged if the statement ran for at least the specified amount of time. |
56
+
|`log_min_messages`| Minimum severity level of messages to log. |
57
+
|`log_replication_commands`| Logs all replication commands |
58
+
|`log_statement`| Controls which SQL statements are logged. Valid values are `none` (off), `ddl`, `mod`, and `all` (all statements). |
59
+
|`log_temp_files`| Controls logging of temporary file names and sizes. |
60
+
|`pg_net.ttl`| Sets how long the [pg_net extension](/docs/guides/database/extensions/pg_net) saves responses |
61
+
|`pg_net.batch_size`| Sets how many requests the [pg_net extension](/docs/guides/database/extensions/pg_net) can make per second |
62
+
|`pg_stat_statements.*`| Configures the [pg_stat_statements extension](https://www.postgresql.org/docs/current/pgstatstatements.html). |
63
+
|`pgaudit.*`| Configures the [PGAudit extension](https://supabase.com/docs/guides/database/extensions/pgaudit). The `log_parameter` is still restricted to protect secrets |
0 commit comments