From bc5da98390d051a6e8781b1bf7f0c6df984ae6bc Mon Sep 17 00:00:00 2001 From: Kobie Botha Date: Fri, 17 Oct 2025 09:22:27 -0600 Subject: [PATCH] Add Render Postgres instructions --- installation/database-setup.mdx | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) diff --git a/installation/database-setup.mdx b/installation/database-setup.mdx index 7791cce5..1202fd91 100644 --- a/installation/database-setup.mdx +++ b/installation/database-setup.mdx @@ -177,6 +177,25 @@ We have documented steps for some hosting providers: FOR TABLE public.lists, public.todos; ``` + + Logical replication can be enabled for [Render Postgres](https://render.com/docs/postgresql) but you need to contact their support team. Here are some prerequisites before contacting them: + - The disk size must be at least 10 GB. + - You must be on a Professional workspace or higher. + + The Render support team will ask you the following: + + - Database user for replication (you can use the default or create a new user yourself) + - Schema(s) + - Publication name (only if you want us to setĀ `FOR ALL TABLES`; otherwise, you'll be able to create publications per table yourself later) + + If you want to create the publication `FOR ALL TABLES`, you must let their support team to know that you want the publication name to be `powersync`. + + Additional notes they'll share with you: + + > We will reserve approximately 1/8 of your storage forĀ `wal_keep_size`. This will not be available for your normal operations and will always be reserved no matter what. +We will also schedule maintenance for the database to pick up the changes. It will be initially scheduled for 14 days out with a deadline of 30 days out. Once the maintenance is added, you can reschedule to any time between immediately and the deadline. If you do nothing, it will run automatically at the initially scheduled time of 14 days out. + +