[pgAdmin][RM6777] Deferrable, deferred, included columns fields are editable in Edit Table > Constraint tab

From: Aditya Toshniwal <aditya(dot)toshniwal(at)enterprisedb(dot)com>
To: pgadmin-hackers <pgadmin-hackers(at)postgresql(dot)org>
Subject: [pgAdmin][RM6777] Deferrable, deferred, included columns fields are editable in Edit Table > Constraint tab
Date: 2021-09-23 08:14:08
Message-ID: CAM9w-_mhBQbX11uSSyKp+7OzE4LiWdPX=-RSPCe+r9nWCtd8WA@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgadmin-hackers

Hi Hackers,

Attached patch fixes:
1. Unique constraint should not allow changing values for deferrable ,
deferred, included columns.
2. Primary keys should not allow changing values for deferrable , deferred,
included columns.
3. Foreign keys should not allow changing match type. Referenced table name
is empty.
4. Exclude - Column/Expression has incorrect values.
5. Save should not be enabled when Custom auto-vacuum is enabled but none
of the parameters are edited.

Please review.

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

Attachment Content-Type Size
RM6777.patch application/octet-stream 19.7 KB

Responses

Browse pgadmin-hackers by date

  From Date Subject
Next Message Aditya Toshniwal 2021-09-23 08:39:03 [pgAdmin][RM6772] Modified SQL not loading Unique Constraint dialog
Previous Message Ashesh Vashi 2021-09-23 08:06:36 Re: Patch: Two-factor Authentication (RM #6543)