1
0
mirror of https://github.com/postgres/postgres.git synced 2025-11-12 05:01:15 +03:00

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.
This commit is contained in:
Marc G. Fournier
1998-08-25 21:37:08 +00:00
parent 7414d61950
commit f62d1253ef
9 changed files with 58 additions and 13 deletions

View File

@@ -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\