Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit6475e66

Browse files
Fix misuse of PqMsg_Close.
EndCommand() and EndReplicationCommand() should usePqMsg_CommandComplete instead. Oversight in commitf4b54e1.Reported-by: Pavel Stehule, Tatsuo IshiiAuthor: Pavel StehuleReviewed-by: Aleksander Alekseev, Michael PaquierDiscussion:https://postgr.es/m/CAFj8pRAMDCJXjnwiCkCB1yO1f7NPggFY8PwwAJDnugu-Z2G-Cg%40mail.gmail.com
1 parent3c66264 commit6475e66

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

‎src/backend/tcop/dest.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -176,7 +176,7 @@ EndCommand(const QueryCompletion *qc, CommandDest dest, bool force_undecorated_o
176176

177177
len=BuildQueryCompletionString(completionTag,qc,
178178
force_undecorated_output);
179-
pq_putmessage(PqMsg_Close,completionTag,len+1);
179+
pq_putmessage(PqMsg_CommandComplete,completionTag,len+1);
180180

181181
caseDestNone:
182182
caseDestDebug:
@@ -200,7 +200,7 @@ EndCommand(const QueryCompletion *qc, CommandDest dest, bool force_undecorated_o
200200
void
201201
EndReplicationCommand(constchar*commandTag)
202202
{
203-
pq_putmessage(PqMsg_Close,commandTag,strlen(commandTag)+1);
203+
pq_putmessage(PqMsg_CommandComplete,commandTag,strlen(commandTag)+1);
204204
}
205205

206206
/* ----------------

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp