pgAdmin 4 commit: Added support for Logical Replication. Fixes #5912

From: Akshay Joshi <akshay(dot)joshi(at)enterprisedb(dot)com>
To: pgadmin-hackers(at)lists(dot)postgresql(dot)org
Subject: pgAdmin 4 commit: Added support for Logical Replication. Fixes #5912
Date: 2021-02-01 09:42:52
Message-ID: E1l6VjQ-0001E2-Vn@gothos.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgadmin-hackers

Added support for Logical Replication. Fixes #5912

Branch
------
master

Details
-------
https://git.postgresql.org/gitweb?p=pgadmin4.git;a=commitdiff;h=bf56a6723b1acf625dd35503cda207a34d55824b
Author: Pradip Parkale <pradip(dot)parkale(at)enterprisedb(dot)com>

Modified Files
--------------
docs/en_US/release_notes_5_0.rst | 3 +-
.../servers/databases/publications/__init__.py | 858 ++++++++++++++++++++
.../publications/static/img/coll-publication.svg | 22 +
.../publications/static/img/coll-subscription.svg | 30 +
.../publications/static/img/publication.svg | 22 +
.../publications/static/img/subscription.svg | 22 +
.../publications/static/js/publication.js | 252 ++++++
.../templates/publications/sql/11_plus/create.sql | 20 +
.../publications/sql/11_plus/properties.sql | 8 +
.../templates/publications/sql/default/create.sql | 16 +
.../templates/publications/sql/default/delete.sql | 8 +
.../publications/sql/default/get_all_tables.sql | 6 +
.../publications/sql/default/get_position.sql | 1 +
.../publications/sql/default/get_tables.sql | 1 +
.../templates/publications/sql/default/nodes.sql | 1 +
.../publications/sql/default/properties.sql | 8 +
.../templates/publications/sql/default/update.sql | 42 +
.../tests/10_plus/alter_publication.sql | 7 +
.../tests/10_plus/alter_publication_event.sql | 7 +
.../tests/10_plus/alter_publication_event_msql.sql | 2 +
.../tests/10_plus/alter_publication_msql.sql | 1 +
.../tests/10_plus/create_publication.sql | 7 +
.../tests/10_plus/create_publication_msql.sql | 3 +
.../tests/10_plus/create_publication_update.sql | 7 +
.../10_plus/create_publication_update_msql.sql | 3 +
.../databases/publications/tests/10_plus/test.json | 79 ++
.../databases/publications/tests/__init__.py | 16 +
.../publications/tests/publication_test_data.json | 397 ++++++++++
.../publications/tests/test_publication_create.py | 95 +++
.../publications/tests/test_publication_delete.py | 94 +++
.../tests/test_publication_delete_multiple.py | 103 +++
.../publications/tests/test_publication_get.py | 100 +++
.../publications/tests/test_publication_put.py | 127 +++
.../publications/tests/test_publication_sql.py | 88 +++
.../servers/databases/publications/tests/utils.py | 152 ++++
.../databases/schemas/tables/static/js/table.js | 5 +
.../templates/tables/sql/10_plus/properties.sql | 6 +
.../templates/tables/sql/11_plus/properties.sql | 6 +
.../tables/templates/tables/sql/11_plus/update.sql | 12 +
.../templates/tables/sql/12_plus/properties.sql | 6 +
.../tables/templates/tables/sql/12_plus/update.sql | 12 +
.../tables/templates/tables/sql/default/update.sql | 14 +
.../servers/databases/static/js/database.js | 12 +
.../servers/databases/subscriptions/__init__.py | 860 +++++++++++++++++++++
.../subscriptions/static/img/coll-publication.svg | 22 +
.../subscriptions/static/img/coll-subscription.svg | 30 +
.../subscriptions/static/img/publication.svg | 22 +
.../subscriptions/static/img/subscription.svg | 22 +
.../subscriptions/static/js/subscription.js | 430 +++++++++++
.../templates/subscriptions/sql/default/create.sql | 24 +
.../templates/subscriptions/sql/default/delete.sql | 8 +
.../subscriptions/sql/default/get_position.sql | 1 +
.../templates/subscriptions/sql/default/nodes.sql | 7 +
.../subscriptions/sql/default/properties.sql | 21 +
.../templates/subscriptions/sql/default/stats.sql | 8 +
.../templates/subscriptions/sql/default/update.sql | 65 ++
.../tests/10_plus/alter_maintenance_db.sql | 8 +
.../tests/10_plus/alter_subscription.sql | 8 +
.../subscriptions/tests/10_plus/alter_sync.sql | 8 +
.../tests/10_plus/create_subscription.sql | 8 +
.../tests/10_plus/create_subscription_msql.sql | 4 +
.../subscriptions/tests/10_plus/test.json | 70 ++
.../databases/subscriptions/tests/__init__.py | 16 +
.../tests/subscription_test_data.json | 432 +++++++++++
.../tests/test_subscription_create.py | 97 +++
.../tests/test_subscription_delete.py | 93 +++
.../tests/test_subscription_delete_multiple.py | 106 +++
.../subscriptions/tests/test_subscription_get.py | 99 +++
.../subscriptions/tests/test_subscription_put.py | 112 +++
.../subscriptions/tests/test_subscription_sql.py | 88 +++
.../servers/databases/subscriptions/tests/utils.py | 157 ++++
.../templates/depends/pg/10_plus/dependents.sql | 79 ++
.../templates/depends/pg/11_plus/dependents.sql | 8 +-
.../templates/depends/pg/12_plus/dependents.sql | 8 +-
.../templates/depends/ppas/10_plus/dependents.sql | 82 ++
.../templates/depends/ppas/11_plus/dependents.sql | 9 +-
.../templates/depends/ppas/12_plus/dependents.sql | 8 +-
web/pgadmin/browser/static/js/runtime.js | 2 +-
web/pgadmin/browser/utils.py | 4 +-
.../server_groups/servers/model_validation.js | 20 +-
.../search_objects/sql/pg/10_plus/search.sql | 18 +
.../search_objects/sql/pg/11_plus/search.sql | 18 +
.../search_objects/sql/ppas/10_plus/search.sql | 19 +
.../search_objects/sql/ppas/12_plus/search.sql | 19 +
web/pgadmin/tools/search_objects/utils.py | 3 +-
web/webpack.config.js | 2 +
web/webpack.shim.js | 2 +
87 files changed, 5793 insertions(+), 15 deletions(-)

Browse pgadmin-hackers by date

  From Date Subject
Next Message Akshay Joshi 2021-02-01 09:44:56 Re: [pgAdmin][RM5912]: Added support for Logical Replication.
Previous Message Dave Page 2021-02-01 09:22:12 Re: [pgAdmin][RM-6143]: Shared server entries not getting deleted.