Skip to content

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

docs: Add tip to reload postgrest for timeout changes if using API calls (#28741)

Peter1a193e57139a
diff --git a/apps/docs/content/guides/database/postgres/timeouts.mdx b/apps/docs/content/guides/database/postgres/timeouts.mdx
index f7c2848b15d..ffc14b624f2 100644
--- a/apps/docs/content/guides/database/postgres/timeouts.mdx
+++ b/apps/docs/content/guides/database/postgres/timeouts.mdx
@@ -68,7 +68,18 @@ Run the following query to change a role's timeout:
alter role example_role set statement_timeout = '10min'; -- could also use seconds '10s'
```
-Unlike global settings, the result cannot be checked with `SHOW statement_timeout`. Instead, run:
+<Admonition type="tip">
+ If you are changing the timeout for the Supabase Client API calls, you will need to reload
+ postgREST to reflect the timeout changes by running the following script:
+
+```sql
+NOTIFY pgrst, 'reload config';
+```
+
+</Admonition>
+
+Unlike global settings, the result cannot be checked with `SHOW
+statement_timeout`. Instead, run:
```sql
select