aboutsummaryrefslogtreecommitdiff
path: root/src/bin/psql/psqlHelp.h
diff options
context:
space:
mode:
authorMarc G. Fournier <scrappy@hub.org>1998-08-25 21:37:08 +0000
committerMarc G. Fournier <scrappy@hub.org>1998-08-25 21:37:08 +0000
commitf62d1253eff4622f6ff0b76f8f0f2eca793bd608 (patch)
treee28e49785256ce9f46f924bc518b0dfeda0d80a6 /src/bin/psql/psqlHelp.h
parent7414d619507ed9e2cdb5113ff77df55feef786c4 (diff)
downloadpostgresql-f62d1253eff4622f6ff0b76f8f0f2eca793bd608.tar.gz
postgresql-f62d1253eff4622f6ff0b76f8f0f2eca793bd608.zip
From: Massimo Dal Zotto <dz@cs.unitn.it>
> these patches define the UNLISTEN sql command. The code already > existed but it was unknown to the parser. Now it can be used > like the listen command. > You must make clean and delete gram.c and parser.h before make.
Diffstat (limited to 'src/bin/psql/psqlHelp.h')
-rw-r--r--src/bin/psql/psqlHelp.h12
1 files changed, 8 insertions, 4 deletions
diff --git a/src/bin/psql/psqlHelp.h b/src/bin/psql/psqlHelp.h
index f9052d0a954..387561cbd9f 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.49 1998/07/26 01:18:09 momjian Exp $
+ * $Id: psqlHelp.h,v 1.50 1998/08/25 21:36:58 scrappy 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",
+ "listen for notification on a relation name",
"\
-\tLISTEN class_name"},
+\tLISTEN class_name|\"name\""},
{"load",
"dynamically load a module",
"\
@@ -345,7 +345,11 @@ set R_PLANS TO 'ON'| 'OFF'"},
"\
\tSHOW DateStyle|GEQO|R_PLANS"},
#endif
- {"UPDATE",
+ {"unlisten",
+ "unlisten for notification on a relation name",
+ "\
+\tUNLISTEN class_name|\"name\"|\"*\""},
+ {"update",
"update tuples",
"\
\tUPDATE class_name SET attr1 = expr1, ...attrN = exprN\n\