pgsql: Fix incorrect merge in ECPG code with DECLARE

From: Michael Paquier <michael(at)paquier(dot)xyz>
To: pgsql-committers(at)lists(dot)postgresql(dot)org
Subject: pgsql: Fix incorrect merge in ECPG code with DECLARE
Date: 2021-08-25 06:17:39
Message-ID: E1mImEF-0007VN-Tn@gemulon.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

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

Branch
------
REL_14_STABLE

Details
-------
https://git.postgresql.org/pg/commitdiff/8ab3452df8d5ff26cf52c089b986256b0c02d555

Modified Files
--------------
src/interfaces/ecpg/preproc/ecpg.header | 1 -
1 file changed, 1 deletion(-)

Browse pgsql-committers by date

  From Date Subject
Next Message Peter Eisentraut 2021-08-25 08:25:57 pgsql: Fix typo
Previous Message Fabien COELHO 2021-08-25 05:37:22 Re: pgsql: psql: Add test for query canceling