Fix support for security labels. Fixes #1457
Branch
------
master
Details
-------
http://git.postgresql.org/gitweb?p=pgadmin4.git;a=commitdiff;h=3d7b40e111112749b988a4bb59f41598c1e8e522
Author: Murtuza Zabuawala <murtuza.zabuawala@enterprisedb.com>
Modified Files
--------------
.../servers/databases/event_triggers/__init__.py | 29 ++++++++++-----
.../templates/event_triggers/js/event_trigger.js | 38 +++-----------------
.../event_triggers/sql/9.3_plus/grant.sql | 8 ++---
.../event_triggers/sql/9.3_plus/properties.sql | 2 +-
.../event_triggers/sql/9.3_plus/update.sql | 14 ++++----
.../servers/databases/languages/__init__.py | 41 ++++++++++++++++++++--
.../languages/sql/9.1_plus/properties.sql | 3 +-
.../templates/languages/sql/9.1_plus/sqlpane.sql | 22 ++++++++++--
.../templates/languages/sql/9.1_plus/update.sql | 24 +++++++++++++
.../languages/sql/9.3_plus/properties.sql | 3 +-
.../templates/languages/sql/9.3_plus/sqlpane.sql | 22 ++++++++++--
.../templates/languages/sql/9.3_plus/update.sql | 24 +++++++++++++
.../templates/domains/sql/9.1_plus/create.sql | 4 +--
.../templates/domains/sql/9.1_plus/update.sql | 8 ++---
.../templates/domains/sql/9.2_plus/create.sql | 4 +--
.../templates/domains/sql/9.2_plus/properties.sql | 2 +-
.../templates/domains/sql/9.2_plus/update.sql | 8 ++---
.../foreign_tables/sql/9.1_plus/create.sql | 4 +--
.../foreign_tables/sql/9.1_plus/update.sql | 8 ++---
.../foreign_tables/sql/9.2_plus/create.sql | 4 +--
.../foreign_tables/sql/9.2_plus/properties.sql | 2 +-
.../foreign_tables/sql/9.2_plus/update.sql | 8 ++---
.../foreign_tables/sql/9.5_plus/create.sql | 4 +--
.../foreign_tables/sql/9.5_plus/properties.sql | 2 +-
.../foreign_tables/sql/9.5_plus/update.sql | 8 ++---
.../functions/templates/function/js/functions.js | 7 ++--
.../templates/function/pg/sql/9.2_plus/create.sql | 4 +--
.../function/pg/sql/9.2_plus/properties.sql | 2 +-
.../function/pg/sql/9.5_plus/properties.sql | 2 +-
.../function/ppas/sql/9.2_plus/properties.sql | 2 +-
.../function/ppas/sql/9.5_plus/properties.sql | 2 +-
.../procedure/ppas/sql/9.2_plus/properties.sql | 2 +-
.../procedure/ppas/sql/9.5_plus/properties.sql | 2 +-
.../trigger_function/pg/sql/9.2_plus/create.sql | 4 +--
.../pg/sql/9.2_plus/properties.sql | 2 +-
.../pg/sql/9.5_plus/properties.sql | 2 +-
.../ppas/sql/9.2_plus/properties.sql | 2 +-
.../ppas/sql/9.5_plus/properties.sql | 2 +-
.../databases/schemas/sequences/__init__.py | 21 +++++------
.../templates/sequence/sql/9.1_plus/grant.sql | 4 +--
.../templates/sequence/sql/9.1_plus/update.sql | 8 ++---
.../templates/column/sql/9.1_plus/create.sql | 4 +--
.../templates/column/sql/9.1_plus/properties.sql | 2 +-
.../templates/column/sql/9.1_plus/update.sql | 8 ++---
.../templates/column/sql/9.2_plus/create.sql | 4 +--
.../templates/column/sql/9.2_plus/properties.sql | 2 +-
.../templates/column/sql/9.2_plus/update.sql | 8 ++---
.../tables/templates/table/sql/9.1_plus/create.sql | 8 ++---
.../tables/templates/table/sql/9.1_plus/update.sql | 6 ++--
.../tables/templates/table/sql/9.5_plus/create.sql | 8 ++---
.../tables/templates/table/sql/9.5_plus/update.sql | 6 ++--
.../templates/catalog/pg/9.1_plus/sql/update.sql | 8 ++---
.../templates/catalog/pg/9.2_plus/sql/update.sql | 8 ++---
.../catalog/ppas/9.1_plus/sql/properties.sql | 3 +-
.../templates/catalog/ppas/9.1_plus/sql/update.sql | 8 ++---
.../catalog/ppas/9.2_plus/sql/properties.sql | 3 +-
.../templates/catalog/ppas/9.2_plus/sql/update.sql | 8 ++---
.../templates/schema/pg/9.1_plus/sql/create.sql | 2 +-
.../schema/pg/9.1_plus/sql/properties.sql | 3 +-
.../schema/pg/9.2_plus/sql/properties.sql | 3 +-
.../templates/schema/ppas/9.1_plus/sql/update.sql | 8 ++---
.../templates/schema/ppas/9.2_plus/sql/update.sql | 8 ++---
.../servers/databases/schemas/types/__init__.py | 10 ++++++
.../types/templates/type/sql/9.1_plus/create.sql | 4 +--
.../templates/type/sql/9.1_plus/properties.sql | 2 +-
.../types/templates/type/sql/9.1_plus/update.sql | 8 ++---
.../servers/databases/schemas/views/__init__.py | 5 +++
.../templates/mview/pg/9.3_plus/sql/grant.sql | 4 +--
.../templates/mview/pg/9.3_plus/sql/update.sql | 8 ++---
.../templates/mview/pg/9.4_plus/sql/grant.sql | 4 +--
.../templates/mview/pg/9.4_plus/sql/update.sql | 8 ++---
.../templates/mview/ppas/9.3_plus/sql/grant.sql | 4 +--
.../templates/mview/ppas/9.3_plus/sql/update.sql | 8 ++---
.../views/templates/view/pg/9.1_plus/sql/grant.sql | 4 +--
.../templates/view/pg/9.1_plus/sql/properties.sql | 10 ++----
.../templates/view/pg/9.1_plus/sql/update.sql | 8 ++---
.../views/templates/view/pg/9.2_plus/sql/grant.sql | 4 +--
.../templates/view/pg/9.2_plus/sql/properties.sql | 19 ++++------
.../templates/view/pg/9.2_plus/sql/update.sql | 8 ++---
.../views/templates/view/pg/9.3_plus/sql/grant.sql | 4 +--
.../templates/view/pg/9.3_plus/sql/properties.sql | 19 ++++------
.../templates/view/pg/9.3_plus/sql/update.sql | 8 ++---
.../views/templates/view/pg/9.4_plus/sql/grant.sql | 4 +--
.../templates/view/pg/9.4_plus/sql/properties.sql | 19 ++++------
.../templates/view/pg/9.4_plus/sql/update.sql | 8 ++---
.../templates/view/ppas/9.1_plus/sql/grant.sql | 4 +--
.../view/ppas/9.1_plus/sql/properties.sql | 19 ++++------
.../templates/view/ppas/9.1_plus/sql/update.sql | 8 ++---
.../templates/view/ppas/9.2_plus/sql/grant.sql | 4 +--
.../view/ppas/9.2_plus/sql/properties.sql | 19 ++++------
.../templates/view/ppas/9.2_plus/sql/update.sql | 8 ++---
.../templates/view/ppas/9.3_plus/sql/grant.sql | 4 +--
.../view/ppas/9.3_plus/sql/properties.sql | 19 ++++------
.../templates/view/ppas/9.3_plus/sql/update.sql | 8 ++---
.../templates/view/ppas/9.4_plus/sql/grant.sql | 4 +--
.../view/ppas/9.4_plus/sql/properties.sql | 19 ++++------
.../templates/view/ppas/9.4_plus/sql/update.sql | 8 ++---
.../databases/templates/databases/js/databases.js | 2 +-
.../databases/sql/9.1_plus/alter_online.sql | 20 +++++++++++
.../templates/databases/sql/9.1_plus/grant.sql | 7 ++++
.../templates/databases/sql/9.2_plus/grant.sql | 4 +--
.../templates/databases/sql/9.3_plus/grant.sql | 4 +--
.../server_groups/servers/databases/utils.py | 1 +
.../server_groups/servers/roles/__init__.py | 1 +
.../roles/templates/role/sql/post9_1/update.sql | 6 ++--
.../roles/templates/role/sql/post9_4/update.sql | 6 ++--
106 files changed, 473 insertions(+), 364 deletions(-)