pgsql: Fix misuse of PqMsg_Close.

From: Nathan Bossart <nathan(at)postgresql(dot)org>
To: pgsql-committers(at)lists(dot)postgresql(dot)org
Subject: pgsql: Fix misuse of PqMsg_Close.
Date: 2023-08-30 01:33:39
Message-ID: E1qbA5T-001bYR-Dx@gemulon.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

Fix misuse of PqMsg_Close.

EndCommand() and EndReplicationCommand() should use
PqMsg_CommandComplete instead. Oversight in commit f4b54e1ed9.

Reported-by: Pavel Stehule, Tatsuo Ishii
Author: Pavel Stehule
Reviewed-by: Aleksander Alekseev, Michael Paquier
Discussion: https://postgr.es/m/CAFj8pRAMDCJXjnwiCkCB1yO1f7NPggFY8PwwAJDnugu-Z2G-Cg%40mail.gmail.com

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/6475e663b3c67895aa76acac27fd931bf8a6c0f1

Modified Files
--------------
src/backend/tcop/dest.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)

Browse pgsql-committers by date

  From Date Subject
Next Message Michael Paquier 2023-08-30 04:16:20 Re: pgsql: Allow pgbench to exit immediately when any client is aborted.
Previous Message Tatsuo Ishii 2023-08-30 01:05:15 pgsql: Allow pgbench to exit immediately when any client is aborted.