Thread: pgAdmin 4 commit: Fixed reverse engineered SQL for partitions when stor
Fixed reverse engineered SQL for partitions when storage parameters are specified. Fixes #5569 Branch ------ master Details ------- https://git.postgresql.org/gitweb?p=pgadmin4.git;a=commitdiff;h=29175d7ec4259514486056aa1bb89a9513598912 Author: Rahul Shirsat <rahul.shirsat@enterprisedb.com> Modified Files -------------- docs/en_US/release_notes_4_24.rst | 1 + .../servers/databases/schemas/tables/__init__.py | 37 +----- .../schemas/tables/partitions/__init__.py | 66 +++++----- .../tables/partitions/static/js/partition.js | 10 ++ .../tests/pg/10_plus/alter_table_add_partition.sql | 23 ++++ .../pg/10_plus/alter_table_add_partition_msql.sql | 2 + .../pg/10_plus/create_table_with_partition.sql | 18 +++ .../10_plus/create_table_with_partition_msql.sql | 13 ++ .../tests/pg/10_plus/test_partitions.json | 139 +++++++++++++++++++++ .../tests/pg/11_plus/alter_table_add_partition.sql | 19 +++ .../pg/11_plus/alter_table_add_partition_msql.sql | 2 + .../pg/11_plus/create_table_with_partition.sql | 14 +++ .../11_plus/create_table_with_partition_msql.sql | 10 ++ .../tests/pg/11_plus/test_partitions.json | 139 +++++++++++++++++++++ .../partitions/sql/gpdb/5_plus/properties.sql | 6 +- .../templates/partitions/sql/pg/10_plus/create.sql | 32 ++--- .../templates/partitions/sql/pg/10_plus/nodes.sql | 28 ++++- .../partitions/sql/pg/10_plus/properties.sql | 6 +- .../partitions/sql/pg/12_plus/properties.sql | 6 +- .../partitions/sql/ppas/10_plus/create.sql | 27 ++-- .../partitions/sql/ppas/10_plus/properties.sql | 6 +- .../partitions/sql/ppas/12_plus/properties.sql | 6 +- .../tables/templates/tables/sql/10_plus/create.sql | 2 +- .../servers/databases/schemas/tables/utils.py | 94 ++++++++++++++ 24 files changed, 591 insertions(+), 115 deletions(-)