From 976625c54a62bea25a542d7a1ef0d3ad1cdf070b Mon Sep 17 00:00:00 2001
From: Tom Lane <tgl@sss.pgh.pa.us>
Date: Thu, 8 Oct 1998 01:10:28 +0000
Subject: [PATCH] I continue my quest to eliminate documentation that claims a
 listen/notify condition name is a class or table name, 'cause it ain't.

---
 src/bin/psql/psqlHelp.h | 14 +++++++-------
 1 file changed, 7 insertions(+), 7 deletions(-)

diff --git a/src/bin/psql/psqlHelp.h b/src/bin/psql/psqlHelp.h
index 12b98a5ce6b..c6d97ab4cd0 100644
--- a/src/bin/psql/psqlHelp.h
+++ b/src/bin/psql/psqlHelp.h
@@ -5,7 +5,7 @@
  *
  * Copyright (c) 1994, Regents of the University of California
  *
- * $Id: psqlHelp.h,v 1.52 1998/09/01 04:33:53 momjian Exp $
+ * $Id: psqlHelp.h,v 1.53 1998/10/08 01:10:28 tgl Exp $
  *
  *-------------------------------------------------------------------------
  */
@@ -273,9 +273,9 @@ static struct _helpStruct QL_HELP[] = {
 \t[HAVING having_clause]\n\
 \t[UNION [ALL] SELECT ...];"},
 	{"listen",
-		"listen for notification on a relation name",
+		"listen for notification on a condition name",
 	"\
-\tLISTEN class_name|\"name\""},
+\tLISTEN name|\"non-name string\""},
 	{"load",
 		"dynamically load a module",
 	"\
@@ -289,9 +289,9 @@ static struct _helpStruct QL_HELP[] = {
 	"\
 \tMOVE [FORWARD|BACKWARD] [number|ALL] [IN cursorname];"},
 	{"notify",
-		"signal all frontends and backends listening on a relation",
+		"signal all frontends listening on a condition name",
 	"\
-\tNOTIFY class_name"},
+\tNOTIFY name|\"non-name string\""},
 	{"reset",
 		"set run-time environment back to default",
 #ifdef MULTIBYTE
@@ -346,9 +346,9 @@ set R_PLANS TO 'ON'| 'OFF'"},
 \tSHOW DateStyle|GEQO|R_PLANS"},
 #endif
 	{"unlisten",
-		"unlisten for notification on a relation name",
+		"stop listening for notification on a condition name",
 	"\
-\tUNLISTEN class_name|\"name\"|\"*\""},
+\tUNLISTEN name|\"non-name string\"|\"*\""},
 	{"update",
 		"update tuples",
 	"\
-- 
GitLab