Fix a bug of schema diff when comparing triggers with different when clauses

From: "huangj(dot)fnst(at)fujitsu(dot)com" <huangj(dot)fnst(at)fujitsu(dot)com>
To: "pgadmin-hackers(at)postgresql(dot)org" <pgadmin-hackers(at)postgresql(dot)org>
Subject: Fix a bug of schema diff when comparing triggers with different when clauses
Date: 2021-03-01 00:58:54
Message-ID: TYAPR01MB55300E1D13087C684A03D71CE99A9@TYAPR01MB5530.jpnprd01.prod.outlook.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgadmin-hackers

Hi,

When I compare triggers with different when clauses, it shows the wrong diff DDL.

[cid:image001(dot)jpg(at)01D70E79(dot)180AED80]

I tried to fix the bug , as the attached patch shows.

--

Thanks && regards

HuangJ

Attachment Content-Type Size
fix-bug-of-SchemaDiff.patch application/octet-stream 3.8 KB

Responses

Browse pgadmin-hackers by date

  From Date Subject
Next Message Akshay Joshi 2021-03-01 06:39:04 pgAdmin 4 commit: 1) Fixed an issue where the user is unable to create
Previous Message Dave Page 2021-02-26 16:57:11 pgAdmin 4 commit: Ensure PGADMIN_DEFAULT_EMAIL looks sane when initiali