Fix incorrect merge in ECPG code with DECLARE

Michael Paquier <michael@paquier.xyz>

Commit: 8ab3452df8d5ff26cf52c089b986256b0c02d555
Author: Michael Paquier <michael@paquier.xyz>
Date: 2021-08-25T06:16:55Z
Releases: 14.0
Fix incorrect merge in ECPG code with DECLARE

The same condition was repeated twice when comparing the connection used
by existing declared statement with the one coming from a fresh DECLARE
statement.  This had no consequences, but let's keep the code clean.
Oversight in f576de1.

Author: Shenhao Wang
Discussion: https://postgr.es/m/OSBPR01MB42149653BC0AB0A49D23C1B8F2C69@OSBPR01MB4214.jpnprd01.prod.outlook.com
Backpatch-through: 14

Files

PathChange+/−
src/interfaces/ecpg/preproc/ecpg.header modified +0 −1

Discussion