pg_easy_replicate
pg_easy_replicate copied to clipboard
Switchover improvement
Hi, I have an issue regarding switchover that might be worth considering for improvement. Usually, a database contains many users, but currently, switchover only alters the user in the source URL to be read-only. Other roles can still perform write operations. Would it be possible to provide an option that allows we to supply a list of users to alter to read-only connections? If no list is provided, it would default to altering only the user in the source URL.