]> git.ipfire.org Git - thirdparty/postgresql.git/commit
Fix incorrect merge in ECPG code with DECLARE
authorMichael Paquier <michael@paquier.xyz>
Wed, 25 Aug 2021 06:16:55 +0000 (15:16 +0900)
committerMichael Paquier <michael@paquier.xyz>
Wed, 25 Aug 2021 06:16:55 +0000 (15:16 +0900)
commit8ab3452df8d5ff26cf52c089b986256b0c02d555
treea5b39219f330296e600dae363d3007f25f746fc1
parent9d7a80ce0185bd0c38bd973638bb7e9a854cf9f8
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
src/interfaces/ecpg/preproc/ecpg.header