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:
@@ -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\
|
||||
|
||||
Reference in New Issue
Block a user