mirror of
https://github.com/pgadmin-org/pgadmin4.git
synced 2026-10-31 16:37:42 -05:00
Fixed duplicate SQL issue for tables with more than one partition. Fixes #6478
This commit is contained in:
1 parent
658a2de619
commit
9ac08c263b
2 files changed
+2
-1
No files matched your search
@@ -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'
|
||||
|
||||
|
||||
Reference in new issue
Block a user