Added support for a multi-level partitioned table. Fixes #2554.
Branch
------
master
Details
-------
https://git.postgresql.org/gitweb?p=pgadmin4.git;a=commitdiff;h=198063f046f16aaee9f8654a79863f188abd85e1
Modified Files
--------------
docs/en_US/images/table_partition.png | Bin 253015 -> 233286 bytes
docs/en_US/images/table_partition_tree.png | Bin 0 -> 35385 bytes
docs/en_US/release_notes_4_18.rst | 1 +
docs/en_US/table_dialog.rst | 17 ++
.../schemas/tables/base_partition_table.py | 9 +-
.../schemas/tables/partitions/__init__.py | 23 ++-
.../partitions/static/img/coll-partition.svg | 36 +++-
.../partitions/static/img/partition_table.svg | 23 +++
.../partitions/static/img/sub_partition_table.svg | 29 ++++
.../tables/partitions/static/js/partition.js | 6 +-
.../templates/partitions/css/partition.css | 36 ++++
.../schemas/tables/static/js/partition.utils.js | 190 +++++++++++++++++++++
.../databases/schemas/tables/static/js/table.js | 2 +-
.../templates/partitions/sql/pg/10_plus/nodes.sql | 4 +-
.../partitions/sql/ppas/10_plus/nodes.sql | 4 +-
.../tables/tests/test_base_partition_table.py | 4 +-
.../schemas/tables/tests/test_table_add.py | 83 ++++-----
.../schemas/tables/tests/test_table_put.py | 16 ++
.../databases/schemas/tables/tests/utils.py | 163 ++++++++++++++++++
.../servers/databases/schemas/tables/utils.py | 35 ++--
20 files changed, 605 insertions(+), 76 deletions(-)