aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorTom Lane <tgl@sss.pgh.pa.us>1999-04-28 22:17:58 +0000
committerTom Lane <tgl@sss.pgh.pa.us>1999-04-28 22:17:58 +0000
commit89cf9303fdbad46cefa5b6f42274a8f36a8cc51b (patch)
tree7fe22f90110a27924d45bc29028d115031c2b4cd /src
parent26909a0797a2aa648e5bd5607c1662ff0198f9fb (diff)
downloadpostgresql-89cf9303fdbad46cefa5b6f42274a8f36a8cc51b.tar.gz
postgresql-89cf9303fdbad46cefa5b6f42274a8f36a8cc51b.zip
Fix stupid typo that broke empty-query response... odd that
this is not revealed by any of our regression tests...
Diffstat (limited to 'src')
-rw-r--r--src/backend/tcop/dest.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/backend/tcop/dest.c b/src/backend/tcop/dest.c
index ded755a3547..b564ac65aa6 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.28 1999/04/25 21:50:57 tgl Exp $
+ * $Header: /cvsroot/pgsql/src/backend/tcop/dest.c,v 1.29 1999/04/28 22:17:58 tgl Exp $
*
*-------------------------------------------------------------------------
*/
@@ -336,7 +336,7 @@ NullCommand(CommandDest dest)
* tell the fe that we saw an empty query string
* ----------------
*/
- pq_putbytes("I", 1);
+ pq_putbytes("I", 2); /* note we send I and \0 */
break;
case Local: