ankane/pgsync

Table allowlist

Garrett-R opened this issue · 0 comments

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 just pgsync and 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.