From: Vadim B. Mikheev Date: Thu, 28 Aug 1997 05:05:43 +0000 (+0000) Subject: Clean CommandInfo after posting to client. X-Git-Tag: REL6_2~319 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=ed118276e3772d66047f04195b335fac9cd90a47;p=postgresql Clean CommandInfo after posting to client. --- diff --git a/src/backend/tcop/dest.c b/src/backend/tcop/dest.c index e42579a23a..72494b3ae9 100644 --- a/src/backend/tcop/dest.c +++ b/src/backend/tcop/dest.c @@ -7,7 +7,7 @@ * * * IDENTIFICATION - * $Header: /cvsroot/pgsql/src/backend/tcop/dest.c,v 1.8 1997/08/27 09:03:14 vadim Exp $ + * $Header: /cvsroot/pgsql/src/backend/tcop/dest.c,v 1.9 1997/08/28 05:05:43 vadim Exp $ * *------------------------------------------------------------------------- */ @@ -104,6 +104,7 @@ EndCommand(char *commandTag, CommandDest dest) */ pq_putnchar("C", 1); sprintf(buf, "%s%s", commandTag, CommandInfo); + CommandInfo[0] = 0; pq_putstr(buf); pq_flush(); break;