8000
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6e7a0f3 commit e1d08faCopy full SHA for e1d08fa
src/interfaces/libpq/fe-exec.c
@@ -8,7 +8,7 @@
8
*
9
10
* IDENTIFICATION
11
- * $PostgreSQL: pgsql/src/interfaces/libpq/fe-exec.c,v 1.157 2004/03/05 01:53:59 tgl Exp $
+ * $PostgreSQL: pgsql/src/interfaces/libpq/fe-exec.c,v 1.158 2004/03/14 22:00:54 tgl Exp $
12
13
*-------------------------------------------------------------------------
14
*/
@@ -1469,7 +1469,7 @@ PQputCopyEnd(PGconn *conn, const char *errormsg)
1469
{
1470
/* Send old-style end-of-data marker */
1471
if (pqPutMsgStart(0, false, conn) < 0 ||
1472
- pqPuts("\\.\n", conn) < 0 ||
+ pqPutnchar("\\.\n", 3, conn) < 0 ||
1473
pqPutMsgEnd(conn) < 0)
1474
return -1;
1475
}
0 commit comments