[pgAdmin][RM7238] ERD: Remove foreign references when table node is removed

2022-03-17 Thread Aditya Toshniwal
Hi Hackers,

Attached patch fixes issue where foreign key is not removed even if the
referred table is removed in ERD. I have also added a check to not allow
duplicate table names.

Please review.

-- 
Thanks,
Aditya Toshniwal
pgAdmin Hacker | Software Architect | *edbpostgres.com*

"Don't Complain about Heat, Plant a TREE"


RM7238.patch
Description: Binary data


Re: [pgAdmin][RM7238] ERD: Remove foreign references when table node is removed

2022-03-17 Thread Akshay Joshi
Thanks, the patch applied.

On Thu, Mar 17, 2022 at 3:23 PM Aditya Toshniwal <
aditya.toshni...@enterprisedb.com> wrote:

> Hi Hackers,
>
> Attached patch fixes issue where foreign key is not removed even if the
> referred table is removed in ERD. I have also added a check to not allow
> duplicate table names.
>
> Please review.
>
> --
> Thanks,
> Aditya Toshniwal
> pgAdmin Hacker | Software Architect | *edbpostgres.com*
> 
> "Don't Complain about Heat, Plant a TREE"
>


-- 
*Thanks & Regards*
*Akshay Joshi*
*pgAdmin Hacker | Principal Software Architect*
*EDB Postgres *

*Mobile: +91 976-788-8246*


pgAdmin 4 commit: Fixed an issue where foreign key is not removed even

2022-03-17 Thread Akshay Joshi
Fixed an issue where foreign key is not removed even if the referred table is 
removed in ERD. Fixes #7238

Branch
--
master

Details
---
https://git.postgresql.org/gitweb?p=pgadmin4.git;a=commitdiff;h=3299b0c1b0da44e9f31f6f337d48a5cdfe7c8f35
Author: Aditya Toshniwal 

Modified Files
--
docs/en_US/release_notes_6_8.rst |  1 +
web/pgadmin/tools/erd/__init__.py|  6 --
web/pgadmin/tools/erd/static/js/erd_tool/ERDCore.js  | 20 
.../erd/static/js/erd_tool/dialogs/DialogWrapper.js  | 14 +-
.../static/js/erd_tool/ui_components/BodyWidget.jsx  | 13 +
5 files changed, 43 insertions(+), 11 deletions(-)



setup-web.sh - support for suse 12/15

2022-03-17 Thread Sandeep Thakkar
Hi,

Please find attached the patch for the setup-web.sh to add support for the
SUSE platform. I verified it on SUSE 12 and 15, x86_64 and PPCLE
architectures

Thanks,

-- 
Sandeep Thakkar


suse-support-setupweb.patch
Description: Binary data