pgsync
pgsync copied to clipboard
Table allowlist
I was hoping to allowlist the tables I want sync in .pgsync.yml, something like:
tables:
- table1
- table2
Workarounds
- I could do
pgsync table1,table2, but I worry that someone by mistake does justpgsyncand then syncs we don't want synced, thus overwriting data. - I could add a blocklist (
exclude), but I worry that someone adds a new user-data table and forgets to add it there and then it gets overwritten.