[pgAdmin][RM5807] Removed columns use modified name in generated script

From: Aditya Toshniwal <aditya(dot)toshniwal(at)enterprisedb(dot)com>
To: pgadmin-hackers <pgadmin-hackers(at)postgresql(dot)org>
Subject: [pgAdmin][RM5807] Removed columns use modified name in generated script
Date: 2020-09-17 09:58:20
Message-ID: CAM9w-_=ENcWVh4EmE2Ytx2+jyV9s-+_EBAhF7kg9FxNAD8Ppuw@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgadmin-hackers

Hi Hackers,

If a column is renamed and then removed, then drop SQL query takes the
renamed column and not the original one.
Attached is the patch to fix this issue.

--
Thanks,
Aditya Toshniwal
pgAdmin hacker | Sr. Software Engineer | *edbpostgres.com*
<http://edbpostgres.com>
"Don't Complain about Heat, Plant a TREE"

Attachment Content-Type Size
RM5807.patch application/octet-stream 966 bytes

Responses

Browse pgadmin-hackers by date

  From Date Subject
Next Message Nikhil Mohite 2020-09-17 10:45:03 [pgAdmin][RM3794]:Allow User to Change Database Connection from an Open Query Tool Tab
Previous Message Murtuza Zabuawala 2020-09-16 09:22:36 Re: pgAdmin 4 commit: 1) Added email id validation on the login page.