Hi I workin with protocol and reading related code.
I found in routine EndCommand one strange thing void EndCommand(const QueryCompletion *qc, CommandDest dest, bool force_undecorated_output) { <-->char<--><-->completionTag[COMPLETION_TAG_BUFSIZE]; <-->Size<--><-->len; <-->switch (dest) <-->{ <--><-->case DestRemote: <--><-->case DestRemoteExecute: <--><-->case DestRemoteSimple: <--><--><-->len = BuildQueryCompletionString(completionTag, qc, <--><--><--><--><--><--><--><--><--><--><--> force_undecorated_output); <--><--><-->pq_putmessage(PqMsg_Close, completionTag, len + 1); <--><-->case DestNone: There is message PqMsgClose, but this should be used from client side. Here should be used PqMsg_CommandComplete instead? Regards Pavel