Commit d12d4c78 authored by Thomas G. Lockhart's avatar Thomas G. Lockhart

Add wildcard asterisk to the UNLISTEN syntax.

parent 4c923917
This diff is collapsed.
...@@ -10,7 +10,7 @@ ...@@ -10,7 +10,7 @@
* *
* *
* IDENTIFICATION * IDENTIFICATION
* $Header: /cvsroot/pgsql/src/backend/parser/gram.y,v 2.35 1998/10/08 18:29:41 momjian Exp $ * $Header: /cvsroot/pgsql/src/backend/parser/gram.y,v 2.36 1998/10/09 07:06:17 thomas Exp $
* *
* HISTORY * HISTORY
* AUTHOR DATE MAJOR EVENT * AUTHOR DATE MAJOR EVENT
...@@ -2101,6 +2101,12 @@ UnlistenStmt: UNLISTEN relation_name ...@@ -2101,6 +2101,12 @@ UnlistenStmt: UNLISTEN relation_name
n->relname = $2; n->relname = $2;
$$ = (Node *)n; $$ = (Node *)n;
} }
| UNLISTEN '*'
{
UnlistenStmt *n = makeNode(UnlistenStmt);
n->relname = "*";
$$ = (Node *)n;
}
; ;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment