pgAdmin 4 commit: Fixed reverse engineered SQL for partitions when stor - Mailing list pgadmin-hackers

From Akshay Joshi
Subject pgAdmin 4 commit: Fixed reverse engineered SQL for partitions when stor
Date
Msg-id E1juDip-0000Wu-2s@gothos.postgresql.org
Whole thread Raw
List pgadmin-hackers
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(-)


pgadmin-hackers by date:

Previous
From: Dave Page
Date:
Subject: Refactor server request code in the runtime
Next
From: Akshay Joshi
Date:
Subject: Re: [pgAdmin][RM5569] [SQL] Bad display of tables storage parameters in the "SQL" tab (correction of bug #5398 not complete)