public inbox for [email protected]  
help / color / mirror / Atom feed
[Patch] RM6478 Duplicates on SQL tab for table with more than one partition
2+ messages / 2 participants
[nested] [flat]

* [Patch] RM6478 Duplicates on SQL tab for table with more than one partition
@ 2021-05-31 06:44 Rahul Shirsat <[email protected]>
  2021-06-01 15:19 ` Re: [Patch] RM6478 Duplicates on SQL tab for table with more than one partition Akshay Joshi <[email protected]>
  0 siblings, 1 reply; 2+ messages in thread

From: Rahul Shirsat @ 2021-05-31 06:44 UTC (permalink / raw)
  To: pgadmin-hackers

Hi Hackers,

Please find the patch which resolves the mentioned issue of duplicate on
sql tab for table.

-- 
*Rahul Shirsat*
Senior Software Engineer | EnterpriseDB Corporation.


Attachments:

  [application/octet-stream] RM6478.patch (863B, 3-RM6478.patch)
  download | inline diff:
diff --git a/web/pgadmin/browser/server_groups/servers/databases/schemas/tables/utils.py b/web/pgadmin/browser/server_groups/servers/databases/schemas/tables/utils.py
index a19624311..1674f2d7d 100644
--- a/web/pgadmin/browser/server_groups/servers/databases/schemas/tables/utils.py
+++ b/web/pgadmin/browser/server_groups/servers/databases/schemas/tables/utils.py
@@ -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'
 


^ permalink  raw  reply  [nested|flat] 2+ messages in thread

* Re: [Patch] RM6478 Duplicates on SQL tab for table with more than one partition
  2021-05-31 06:44 [Patch] RM6478 Duplicates on SQL tab for table with more than one partition Rahul Shirsat <[email protected]>
@ 2021-06-01 15:19 ` Akshay Joshi <[email protected]>
  0 siblings, 0 replies; 2+ messages in thread

From: Akshay Joshi @ 2021-06-01 15:19 UTC (permalink / raw)
  To: Rahul Shirsat <[email protected]>; +Cc: pgadmin-hackers

Thanks, the patch applied.

On Mon, May 31, 2021 at 12:14 PM Rahul Shirsat <
[email protected]> wrote:

> Hi Hackers,
>
> Please find the patch which resolves the mentioned issue of duplicate on
> sql tab for table.
>
> --
> *Rahul Shirsat*
> Senior Software Engineer | EnterpriseDB Corporation.
>


-- 
*Thanks & Regards*
*Akshay Joshi*
*pgAdmin Hacker | Principal Software Architect*
*EDB Postgres <http://edbpostgres.com>*

*Mobile: +91 976-788-8246*


^ permalink  raw  reply  [nested|flat] 2+ messages in thread


end of thread, other threads:[~2021-06-01 15:19 UTC | newest]

Thread overview: 2+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2021-05-31 06:44 [Patch] RM6478 Duplicates on SQL tab for table with more than one partition Rahul Shirsat <[email protected]>
2021-06-01 15:19 ` Akshay Joshi <[email protected]>

This inbox is served by agora; see mirroring instructions
for how to clone and mirror all data and code used for this inbox