ankane / ankane/pgsync

Ideas

Open
#248 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Ruby
Stars
3.5k
Forks
219
PR merge metrics
No merged PRs in 30d

Description

Please create a new issue to discuss any ideas or share your own.

  • Add option to wrap the destination sync in a transaction and use delete instead of truncate - #102
  • Add option to delete rows in SQL clause - #110
  • Change preferred variable syntax ($1) and quote by default
  • Add support for variables with commas - #206
  • Only defer necessary constraints - #209
  • Better error message when primary keys don't match
  • Skip columns with incompatible types (currently warns when different)
  • Add option to open transaction on source when manually specifying order of tables (for consistent snapshot)
  • Retry on connection errors
  • Support syncing to different table name. Ideally use Git remote syntax (pgsync src:dst), which is current used for variables. Could change variables to use pgsync product=123.
  • Add to_safe_hosts to replace to_safe (with * for all)

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

This issue is a broad list of possible ideas rather than a scoped task, and it names no files, tests, or entry points. Start by reviewing the linked issues such as #102, #110, #206, and #209, then create a separate issue for one selected idea with a defined scope and acceptance criteria.

Written by the indexing model from the issue text.

Assessment

Tech stack
postgresql, ruby
Domain
databases
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
15/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.