Skip to content

The Postgres development platform. Supabase gives you a dedicated Postgres database to build your web, mobile, and AI applications.

chore: add docs on additional params being exposed for user control (#29548)

Div Arora642f13b951c4
diff --git a/apps/docs/content/guides/database/custom-postgres-config.mdx b/apps/docs/content/guides/database/custom-postgres-config.mdx
index 053da1e4b44..a77662f838b 100644
--- a/apps/docs/content/guides/database/custom-postgres-config.mdx
+++ b/apps/docs/content/guides/database/custom-postgres-config.mdx
@@ -96,15 +96,24 @@ If a setting you need is not yet configurable, [share your use case with us](htt
The following parameters are available for overrides:
1. [effective_cache_size](https://postgresqlco.nf/doc/en/param/effective_cache_size/)
+1. [logical_decoding_work_mem](https://postgresqlco.nf/doc/en/param/logical_decoding_work_mem/) (CLI only)
1. [maintenance_work_mem](https://postgresqlco.nf/doc/en/param/maintenance_work_mem/)
1. [max_connections](https://postgresqlco.nf/doc/en/param/max_connections/) (CLI only)
1. [max_locks_per_transaction](https://postgresqlco.nf/doc/en/param/max_locks_per_transaction/) (CLI only)
1. [max_parallel_maintenance_workers](https://postgresqlco.nf/doc/en/param/max_parallel_maintenance_workers/)
1. [max_parallel_workers_per_gather](https://postgresqlco.nf/doc/en/param/max_parallel_workers_per_gather/)
1. [max_parallel_workers](https://postgresqlco.nf/doc/en/param/max_parallel_workers/)
-1. [max_worker_processes](https://postgresqlco.nf/doc/en/param/max_worker_processes/) (CLI only)
-1. [session_replication_role](https://postgresqlco.nf/doc/en/param/session_replication_role/)
-1. [shared_buffers](https://postgresqlco.nf/doc/en/param/shared_buffers/) (CLI only)
+1. [max_replication_slots](https://postgresqlco.nf/doc/en/param/max_replication_slots/) (CLI only)
+1. [max_slot_wal_keep_size](https://postgresqlco.nf/doc/en/param/max_slot_wal_keep_size/) (CLI only)
+1. [max_standby_archive_delay](https://postgresqlco.nf/doc/en/param/max_standby_archive_delay) (CLI only)
+1. [max_standby_streaming_delay](https://postgresqlco.nf/doc/en/param/max_standby_streaming_delay) (CLI only)
+1. [max_wal_size](https://postgresqlco.nf/doc/en/param/max_wal_size) (CLI only)
+1. [max_wal_senders](https://postgresqlco.nf/doc/en/param/max_wal_senders) (CLI only)
+1. [max_worker_processes](https://postgresqlco.nf/doc/en/param/max_worker_processes)(https://postgresqlco.nf/doc/en/param/max_worker_processes/) (CLI only)
+1. [session_replication_role](https://postgresqlco.nf/doc/en/param/session_replication_role)(https://postgresqlco.nf/doc/en/param/session_replication_role/)
+1. [shared_buffers](https://postgresqlco.nf/doc/en/param/shared_buffers)(https://postgresqlco.nf/doc/en/param/shared_buffers/) (CLI only)
+1. [wal_keep_size](https://postgresqlco.nf/doc/en/param/wal_keep_size) (CLI only)
+1. [wal_sender_timeout](https://postgresqlco.nf/doc/en/param/wal_sender_timeout) (CLI only)
1. [work_mem](https://postgresqlco.nf/doc/en/param/work_mem/)
#### Managing Postgres configuration with the CLI
@@ -153,3 +162,4 @@ alter role "<role_name>" set "<setting_name>" to default;
1. Changes through the CLI must restart the database and will cause momentary disruption to existing database connections; in most cases this should not take more than a few seconds.
1. Custom Postgres Config will always override the default optimizations generated by Supabase. When changing compute add-ons, you should also review and update your custom Postgres Config to ensure they remain compatible and effective with the updated compute.
+1. Some parameters (e.g. `wal_keep_size`) can increase disk utilization, triggering disk expansion, which in turn can lead to [increases in your bill](/docs/guides/platform/compute-add-ons#disk-io).