Skip to main content

Python PostgreSQL Logical Replication Utility

Project description

PyPgRep Package

This is the PyPGREP package, this is a utility application which aims to simplify PostgreSQL database replication, it builds on top of logical replication enabled with the pg_create_logical_replication_slots function and currently uses the data extracted with the test plugin which is experimental and as such this projects also experimental and one should use it with caution and thorough testing. the utility only supports number, varchar, date and timestamp datatypes and does not support bytea data.

PrePreqs

Psycopg2

Setup

  1. Create the replication slot in the master database
  2. Create a directory for the extracted change files, this location has to be specified in the parfiles.
  3. Setup parameter file for extraction
  4. Start the pypgrep with nohup (as a daemon) with the extract parfile
  5. Setup parameter for apply of extracted changes
  6. Start the pypgrep with nohup (as a daemon) with the apply parfile Github-flavored Markdown to write your content.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

pypgrep-1.0.1.tar.gz (1.5 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

pypgrep-1.0.1-py3-none-any.whl (1.7 kB view details)

Uploaded Python 3

File details

Details for the file pypgrep-1.0.1.tar.gz.

File metadata

  • Download URL: pypgrep-1.0.1.tar.gz
  • Upload date:
  • Size: 1.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for pypgrep-1.0.1.tar.gz
Algorithm Hash digest
SHA256 78f20c1668a9bb31899d6e5b5aff298ee52372694ce35c74db830215c2c5be53
MD5 6df53cc58a6927e8a84f538d0993fd92
BLAKE2b-256 bff183bf67b9ab80b6493ed43cbe696dffb45c2afbd6b7dc7050f774ed63414f

See more details on using hashes here.

File details

Details for the file pypgrep-1.0.1-py3-none-any.whl.

File metadata

File hashes

Hashes for pypgrep-1.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 4468eb75f5676fe0159a350e2830cf15fdac7f8c0593dec4e618df3449a02038
MD5 5269a3400c7d7d47c0ce6b8e6a5bf855
BLAKE2b-256 7b51cf7dff92ebaefa3a7bca66bbd4510fc55a66eab7f45aa941e0cb24e765e7

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page