aboutsummaryrefslogtreecommitdiff
path: root/src/backend/commands/async.c
diff options
context:
space:
mode:
authorTom Lane <tgl@sss.pgh.pa.us>1999-04-25 19:27:47 +0000
committerTom Lane <tgl@sss.pgh.pa.us>1999-04-25 19:27:47 +0000
commit40cad8b66f468d627781704781f6f1877548e73a (patch)
treeff28edc047e0ebd247ce2b0c75cda40fa46fc11e /src/backend/commands/async.c
parentfad6f2925ce9015c2ef25da260ffa1d15baf7ddf (diff)
downloadpostgresql-40cad8b66f468d627781704781f6f1877548e73a.tar.gz
postgresql-40cad8b66f468d627781704781f6f1877548e73a.zip
My first cut at libpq revision didn't handle MULTIBYTE correctly,
but I think it's OK now...
Diffstat (limited to 'src/backend/commands/async.c')
-rw-r--r--src/backend/commands/async.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/backend/commands/async.c b/src/backend/commands/async.c
index 3d5cf92f7d1..fb1c116bc47 100644
--- a/src/backend/commands/async.c
+++ b/src/backend/commands/async.c
@@ -6,7 +6,7 @@
* Copyright (c) 1994, Regents of the University of California
*
* IDENTIFICATION
- * $Header: /cvsroot/pgsql/src/backend/commands/async.c,v 1.45 1999/04/25 03:19:08 tgl Exp $
+ * $Header: /cvsroot/pgsql/src/backend/commands/async.c,v 1.46 1999/04/25 19:27:43 tgl Exp $
*
*-------------------------------------------------------------------------
*/
@@ -803,7 +803,7 @@ NotifyMyFrontEnd(char *relname, int32 listenerPID)
pq_beginmessage(&buf);
pq_sendbyte(&buf, 'A');
pq_sendint(&buf, listenerPID, sizeof(int32));
- pq_sendstring(&buf, relname, strlen(relname));
+ pq_sendstring(&buf, relname);
pq_endmessage(&buf);
/* NOTE: we do not do pq_flush() here. For a self-notify, it will
* happen at the end of the transaction, and for incoming notifies