Fix misuse of PqMsg_Close.

Nathan Bossart <nathan@postgresql.org>

Commit: 6475e663b3c67895aa76acac27fd931bf8a6c0f1
Author: Nathan Bossart <nathan@postgresql.org>
Date: 2023-08-30T01:32:38Z
Releases: 17.0
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

Files

PathChange+/−
src/backend/tcop/dest.c modified +2 −2

Discussion