From 40cad8b66f468d627781704781f6f1877548e73a Mon Sep 17 00:00:00 2001 From: Tom Lane Date: Sun, 25 Apr 1999 19:27:47 +0000 Subject: My first cut at libpq revision didn't handle MULTIBYTE correctly, but I think it's OK now... --- src/backend/commands/async.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/backend/commands/async.c') 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 -- cgit v1.2.3