pg-logidater


Namepg-logidater JSON
Version 0.3.3 PyPI version JSON
download
home_pagehttps://github.com/niekosau
SummaryPostgresql logical replication setup utility
upload_time2024-04-22 08:27:11
maintainerNone
docs_urlNone
authorArunas Grigalionis
requires_python<3.10,>=3.9
licenseGPL-3.0-only
keywords postgres
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            pg-logidater
============
> [!CAUTION]
> Use with yout own risk, not batletested

PostgreSQL logical replication setup utility.
Must be executed on target host.

## Requirements:
* Must be executed with root or user must have setuid/setgid capabilities
* User must have ability to connect to replica host using ssh key (no password accepted)
* .pagpass containing all needed passwords if required
* postgresql installed and running

## Examples
```
pg-logidater --database db_name --master-host 127.0.0.1 --replica-host 127.0.0.2 --psql-user super_user --repl-name name_for_pub_sub_repl save-cli-options
pg-logidater --saved-conf setup-replica
pg-logidater --saved-conf sync-sequences
pg-logidater --saved-conf remove-repl-config
```

Clean up target host:
```
pg-logidater --saved-conf drop-setup
```

            

Raw data

            {
    "_id": null,
    "home_page": "https://github.com/niekosau",
    "name": "pg-logidater",
    "maintainer": null,
    "docs_url": null,
    "requires_python": "<3.10,>=3.9",
    "maintainer_email": null,
    "keywords": "postgres",
    "author": "Arunas Grigalionis",
    "author_email": "arunas.grigalionis@gmail.com",
    "download_url": "https://files.pythonhosted.org/packages/49/b7/389761a456d13b511b7b1c31ce138a305c5223e79f020c9c0e555ed6f47b/pg_logidater-0.3.3.tar.gz",
    "platform": null,
    "description": "pg-logidater\n============\n> [!CAUTION]\n> Use with yout own risk, not batletested\n\nPostgreSQL logical replication setup utility.\nMust be executed on target host.\n\n## Requirements:\n* Must be executed with root or user must have setuid/setgid capabilities\n* User must have ability to connect to replica host using ssh key (no password accepted)\n* .pagpass containing all needed passwords if required\n* postgresql installed and running\n\n## Examples\n```\npg-logidater --database db_name --master-host 127.0.0.1 --replica-host 127.0.0.2 --psql-user super_user --repl-name name_for_pub_sub_repl save-cli-options\npg-logidater --saved-conf setup-replica\npg-logidater --saved-conf sync-sequences\npg-logidater --saved-conf remove-repl-config\n```\n\nClean up target host:\n```\npg-logidater --saved-conf drop-setup\n```\n",
    "bugtrack_url": null,
    "license": "GPL-3.0-only",
    "summary": "Postgresql logical replication setup utility",
    "version": "0.3.3",
    "project_urls": {
        "Homepage": "https://github.com/niekosau",
        "Repository": "https://github.com/niekosau/pg-logidater"
    },
    "split_keywords": [
        "postgres"
    ],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "652f47f2d8395123a61d412d0a8f99e255324a2add55417315351ec085964706",
                "md5": "abb559514015df70c2cac0c8aa8da627",
                "sha256": "c43b83df92e3ec077daaa1e414727aaf1bafb26747744c3e3bd69fb719125632"
            },
            "downloads": -1,
            "filename": "pg_logidater-0.3.3-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "abb559514015df70c2cac0c8aa8da627",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": "<3.10,>=3.9",
            "size": 25007,
            "upload_time": "2024-04-22T08:27:09",
            "upload_time_iso_8601": "2024-04-22T08:27:09.716235Z",
            "url": "https://files.pythonhosted.org/packages/65/2f/47f2d8395123a61d412d0a8f99e255324a2add55417315351ec085964706/pg_logidater-0.3.3-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "49b7389761a456d13b511b7b1c31ce138a305c5223e79f020c9c0e555ed6f47b",
                "md5": "3f7709d7fef042efdac5f0aeb2e6f0a9",
                "sha256": "d5b347121516ca89c202c5400dda6283c251aca3ee543acdebe2a6e2f113c413"
            },
            "downloads": -1,
            "filename": "pg_logidater-0.3.3.tar.gz",
            "has_sig": false,
            "md5_digest": "3f7709d7fef042efdac5f0aeb2e6f0a9",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": "<3.10,>=3.9",
            "size": 22594,
            "upload_time": "2024-04-22T08:27:11",
            "upload_time_iso_8601": "2024-04-22T08:27:11.371917Z",
            "url": "https://files.pythonhosted.org/packages/49/b7/389761a456d13b511b7b1c31ce138a305c5223e79f020c9c0e555ed6f47b/pg_logidater-0.3.3.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2024-04-22 08:27:11",
    "github": true,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "github_user": "niekosau",
    "github_project": "pg-logidater",
    "travis_ci": false,
    "coveralls": false,
    "github_actions": false,
    "lcname": "pg-logidater"
}
        
Elapsed time: 0.29650s