pg.ddx.io  pgsql-committers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Nathan Bossart <nathan@postgresql.org>
To: pgsql-committers@lists.postgresql.org
Subject: pgsql: Fix misuse of PqMsg_Close.
Date: Wed, 30 Aug 2023 01:33:39 +0000
Message-ID: <E1qbA5T-001bYR-Dx@gemulon.postgresql.org> (raw)

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(-)



Message-ID: <E1qbA5T-001bYR-Dx@gemulon.postgresql.org>
Permalink:  ../E1qbA5T-001bYR-Dx@gemulon.postgresql.org/
Also on:    postgresql.org/message-id/E1qbA5T-001bYR-Dx@gemulon.postgresql.org

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: pgsql-committers@postgresql.org
  Cc: nathan@postgresql.org, pgsql-committers@lists.postgresql.org
  Subject: Re: pgsql: Fix misuse of PqMsg_Close.
  In-Reply-To: <E1qbA5T-001bYR-Dx@gemulon.postgresql.org>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox