Thread: [pgAdmin4][Patch]: RM #2945 - [Web based] Message "can't execute anempty query" displayed if user Click Yes on constrains trigger for view trigger

Hi,

Please find the attached patch to fix RM #2945 :  [Web based] Message "can't execute an empty query" displayed if user Click Yes on constrains trigger for view trigger

Fixed issues:

1. Disable "Constraint trigger?" option in View node
2. Disable "Constraint trigger?" option  in edit mode for all the applicable nodes
3. Merged "Constraint trigger?" and "Constraint?" on the properties tab as both were for the same purpose but the "Constraint trigger?" was not showing correct data.

Thanks,
Khushboo
Attachment
Thanks, patch applied.

On Mon, Dec 25, 2017 at 7:11 AM, Khushboo Vashi <khushboo.vashi@enterprisedb.com> wrote:
Hi,

Please find the attached patch to fix RM #2945 :  [Web based] Message "can't execute an empty query" displayed if user Click Yes on constrains trigger for view trigger

Fixed issues:

1. Disable "Constraint trigger?" option in View node
2. Disable "Constraint trigger?" option  in edit mode for all the applicable nodes
3. Merged "Constraint trigger?" and "Constraint?" on the properties tab as both were for the same purpose but the "Constraint trigger?" was not showing correct data.

Thanks,
Khushboo



--
Dave Page
Blog: http://pgsnake.blogspot.com
Twitter: @pgsnake

EnterpriseDB UK: http://www.enterprisedb.com
The Enterprise PostgreSQL Company