Added support to create the Partitioned table should be created using COLLATE and opclass. Fixes #2546
Branch
------
master
Details
-------
https://git.postgresql.org/gitweb?p=pgadmin4.git;a=commitdiff;h=dbf78bf214ad2a55c7980025ed93b47ba8db52a9
Author: Pradip Parkale <pradip.parkale@enterprisedb.com>
Modified Files
--------------
docs/en_US/release_notes_6_0.rst | 1 +
.../servers/databases/schemas/tables/__init__.py | 35 ++++-
.../schemas/tables/static/js/partition.utils.ui.js | 38 +++++-
.../databases/schemas/tables/static/js/table.js | 2 +-
.../databases/schemas/tables/static/js/table.ui.js | 6 +-
.../templates/tables/sql/11_plus/get_collation.sql | 7 +
.../templates/tables/sql/default/get_op_class.sql | 3 +
.../create_partition_table_with_collate.sql | 24 ++++
.../create_partition_table_with_collate_msql.sql | 16 +++
.../schemas/tables/tests/pg/10_plus/test.json | 152 +++++++++++++++++++++
.../create_partition_table_with_collate.sql | 24 ++++
.../create_partition_table_with_collate_msql.sql | 16 +++
.../schemas/tables/tests/pg/11_plus/test.json | 152 +++++++++++++++++++++
.../create_partition_table_with_collate.sql | 24 ++++
.../create_partition_table_with_collate_msql.sql | 16 +++
.../schemas/tables/tests/pg/12_plus/test.json | 152 +++++++++++++++++++++
.../create_partition_table_with_collate.sql | 24 ++++
.../create_partition_table_with_collate_msql.sql | 16 +++
.../schemas/tables/tests/ppas/10_plus/test.json | 152 +++++++++++++++++++++
.../create_partition_table_with_collate.sql | 24 ++++
.../create_partition_table_with_collate_msql.sql | 16 +++
.../schemas/tables/tests/ppas/11_plus/test.json | 152 +++++++++++++++++++++
.../create_partition_table_with_collate.sql | 24 ++++
.../create_partition_table_with_collate_msql.sql | 16 +++
.../schemas/tables/tests/ppas/12_plus/test.json | 152 +++++++++++++++++++++
.../schemas/tables/tests/table_test_data.json | 108 ++++++++++++---
.../databases/schemas/tables/tests/utils.py | 11 +-
.../servers/databases/schemas/tables/utils.py | 10 +-
28 files changed, 1346 insertions(+), 27 deletions(-)