Open
Description
Edit: this requires PostgreSQL v17, its deployment is in progress.
Supabase currently supports:
CREATE PUBLICATION my_publication FOR ALL TABLES;
but does not support:
CREATE SUBSCRIPTION my_subscription CONNECTION '<connection_string>' PUBLICATION my_publication;
The error given is:
ERROR: 42501: must be superuser to create subscriptions
In order to be able to use logical replication to replicate individual tables (or all tables in a schema) between Supabase projects, CREATE SUBSCRIPTION
should be executable by the postgres
user without supseruser
privileges, in parity with the CREATE PUBLICATION
command.