Table allowlist
Open
Nobody has claimed this yet.
- Dominant language
- Ruby
- Stars
- 3.5k
- Forks
- 219
- PR merge metrics
- No merged PRs in 30d
Description
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.
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by tracing how .pgsync.yml is read and how the pgsync command selects tables for synchronization. Compare the requested allowlist with the existing pgsync table1,table2 behavior and verify that running without table arguments syncs only configured tables; done means unlisted tables are not synchronized.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- postgresql, ruby
- Domain
- cli, databases
- Issue type
- Feature
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Clearly specified
- Newbie friendliness
- 45/100