mirror of
https://github.com/pgadmin-org/pgadmin4.git
synced 2025-02-25 18:55:31 -06:00
Fixed duplicate SQL issue for tables with more than one partition. Fixes #6478
This commit is contained in:
parent
658a2de619
commit
9ac08c263b
@ -21,3 +21,4 @@ Bug fixes
|
||||
*********
|
||||
|
||||
| `Issue #4203 <https://redmine.postgresql.org/issues/4203>`_ - Fixed the issue of renaming the database by another user.
|
||||
| `Issue #6478 <https://redmine.postgresql.org/issues/6478>`_ - Fixed duplicate SQL issue for tables with more than one partition.
|
||||
|
@ -937,7 +937,7 @@ class BaseTableView(PGChildNodeView, BasePartitionTable, VacuumSettings):
|
||||
# Get all the supported constraints for partition table
|
||||
self._add_constrints_to_output(part_data, did, row['oid'])
|
||||
|
||||
partition_sql += render_template("/".join(
|
||||
partition_sql = render_template("/".join(
|
||||
[self.partition_template_path, self._CREATE_SQL]),
|
||||
data=part_data, conn=self.conn) + '\n'
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user