├── .github ├── CODEOWNERS ├── ISSUE_TEMPLATE.md ├── ISSUE_TEMPLATE │ ├── BUG_REPORT.md │ ├── FEATURE_REQUEST.md │ ├── QUESTION.md │ └── config.yml ├── PULL_REQUEST_TEMPLATE.md ├── dependabot.yml └── workflows │ ├── ci.yaml │ └── pythonpublish.yml ├── .gitignore ├── .pylintrc ├── CHANGELOG.md ├── Dockerfile ├── LICENSE ├── Makefile ├── README.md ├── db_setup └── config │ └── postgresql.conf ├── docker-compose.yml ├── sample_logging.conf ├── setup.py ├── tap_postgres ├── __init__.py ├── db.py ├── discovery_utils.py ├── stream_utils.py └── sync_strategies │ ├── __init__.py │ ├── common.py │ ├── full_table.py │ ├── incremental.py │ └── logical_replication.py └── tests ├── __init__.py ├── integration ├── __init__.py ├── env ├── test_discovery.py ├── test_logical_replication.py ├── test_streams_utils.py └── test_unsupported_pk.py ├── unit ├── __init__.py ├── test_clear_state_on_replication_change.py ├── test_db.py ├── test_full_table.py ├── test_incremental.py └── test_logical_replication.py └── utils.py /.github/CODEOWNERS: -------------------------------------------------------------------------------- 1 | * @transferwise/analytics-platform 2 | -------------------------------------------------------------------------------- /.github/ISSUE_TEMPLATE.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/transferwise/pipelinewise-tap-postgres/HEAD/.github/ISSUE_TEMPLATE.md -------------------------------------------------------------------------------- /.github/ISSUE_TEMPLATE/BUG_REPORT.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/transferwise/pipelinewise-tap-postgres/HEAD/.github/ISSUE_TEMPLATE/BUG_REPORT.md -------------------------------------------------------------------------------- /.github/ISSUE_TEMPLATE/FEATURE_REQUEST.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/transferwise/pipelinewise-tap-postgres/HEAD/.github/ISSUE_TEMPLATE/FEATURE_REQUEST.md -------------------------------------------------------------------------------- /.github/ISSUE_TEMPLATE/QUESTION.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/transferwise/pipelinewise-tap-postgres/HEAD/.github/ISSUE_TEMPLATE/QUESTION.md -------------------------------------------------------------------------------- /.github/ISSUE_TEMPLATE/config.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/transferwise/pipelinewise-tap-postgres/HEAD/.github/ISSUE_TEMPLATE/config.yml -------------------------------------------------------------------------------- /.github/PULL_REQUEST_TEMPLATE.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/transferwise/pipelinewise-tap-postgres/HEAD/.github/PULL_REQUEST_TEMPLATE.md -------------------------------------------------------------------------------- /.github/dependabot.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/transferwise/pipelinewise-tap-postgres/HEAD/.github/dependabot.yml -------------------------------------------------------------------------------- /.github/workflows/ci.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/transferwise/pipelinewise-tap-postgres/HEAD/.github/workflows/ci.yaml -------------------------------------------------------------------------------- /.github/workflows/pythonpublish.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/transferwise/pipelinewise-tap-postgres/HEAD/.github/workflows/pythonpublish.yml -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/transferwise/pipelinewise-tap-postgres/HEAD/.gitignore -------------------------------------------------------------------------------- /.pylintrc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/transferwise/pipelinewise-tap-postgres/HEAD/.pylintrc -------------------------------------------------------------------------------- /CHANGELOG.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/transferwise/pipelinewise-tap-postgres/HEAD/CHANGELOG.md -------------------------------------------------------------------------------- /Dockerfile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/transferwise/pipelinewise-tap-postgres/HEAD/Dockerfile -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/transferwise/pipelinewise-tap-postgres/HEAD/LICENSE -------------------------------------------------------------------------------- /Makefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/transferwise/pipelinewise-tap-postgres/HEAD/Makefile -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/transferwise/pipelinewise-tap-postgres/HEAD/README.md -------------------------------------------------------------------------------- /db_setup/config/postgresql.conf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/transferwise/pipelinewise-tap-postgres/HEAD/db_setup/config/postgresql.conf -------------------------------------------------------------------------------- /docker-compose.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/transferwise/pipelinewise-tap-postgres/HEAD/docker-compose.yml -------------------------------------------------------------------------------- /sample_logging.conf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/transferwise/pipelinewise-tap-postgres/HEAD/sample_logging.conf -------------------------------------------------------------------------------- /setup.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/transferwise/pipelinewise-tap-postgres/HEAD/setup.py -------------------------------------------------------------------------------- /tap_postgres/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/transferwise/pipelinewise-tap-postgres/HEAD/tap_postgres/__init__.py -------------------------------------------------------------------------------- /tap_postgres/db.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/transferwise/pipelinewise-tap-postgres/HEAD/tap_postgres/db.py -------------------------------------------------------------------------------- /tap_postgres/discovery_utils.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/transferwise/pipelinewise-tap-postgres/HEAD/tap_postgres/discovery_utils.py -------------------------------------------------------------------------------- /tap_postgres/stream_utils.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/transferwise/pipelinewise-tap-postgres/HEAD/tap_postgres/stream_utils.py -------------------------------------------------------------------------------- /tap_postgres/sync_strategies/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /tap_postgres/sync_strategies/common.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/transferwise/pipelinewise-tap-postgres/HEAD/tap_postgres/sync_strategies/common.py -------------------------------------------------------------------------------- /tap_postgres/sync_strategies/full_table.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/transferwise/pipelinewise-tap-postgres/HEAD/tap_postgres/sync_strategies/full_table.py -------------------------------------------------------------------------------- /tap_postgres/sync_strategies/incremental.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/transferwise/pipelinewise-tap-postgres/HEAD/tap_postgres/sync_strategies/incremental.py -------------------------------------------------------------------------------- /tap_postgres/sync_strategies/logical_replication.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/transferwise/pipelinewise-tap-postgres/HEAD/tap_postgres/sync_strategies/logical_replication.py -------------------------------------------------------------------------------- /tests/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /tests/integration/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /tests/integration/env: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/transferwise/pipelinewise-tap-postgres/HEAD/tests/integration/env -------------------------------------------------------------------------------- /tests/integration/test_discovery.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/transferwise/pipelinewise-tap-postgres/HEAD/tests/integration/test_discovery.py -------------------------------------------------------------------------------- /tests/integration/test_logical_replication.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/transferwise/pipelinewise-tap-postgres/HEAD/tests/integration/test_logical_replication.py -------------------------------------------------------------------------------- /tests/integration/test_streams_utils.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/transferwise/pipelinewise-tap-postgres/HEAD/tests/integration/test_streams_utils.py -------------------------------------------------------------------------------- /tests/integration/test_unsupported_pk.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/transferwise/pipelinewise-tap-postgres/HEAD/tests/integration/test_unsupported_pk.py -------------------------------------------------------------------------------- /tests/unit/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /tests/unit/test_clear_state_on_replication_change.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/transferwise/pipelinewise-tap-postgres/HEAD/tests/unit/test_clear_state_on_replication_change.py -------------------------------------------------------------------------------- /tests/unit/test_db.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/transferwise/pipelinewise-tap-postgres/HEAD/tests/unit/test_db.py -------------------------------------------------------------------------------- /tests/unit/test_full_table.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/transferwise/pipelinewise-tap-postgres/HEAD/tests/unit/test_full_table.py -------------------------------------------------------------------------------- /tests/unit/test_incremental.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/transferwise/pipelinewise-tap-postgres/HEAD/tests/unit/test_incremental.py -------------------------------------------------------------------------------- /tests/unit/test_logical_replication.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/transferwise/pipelinewise-tap-postgres/HEAD/tests/unit/test_logical_replication.py -------------------------------------------------------------------------------- /tests/utils.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/transferwise/pipelinewise-tap-postgres/HEAD/tests/utils.py --------------------------------------------------------------------------------