Skip to content
Snippets Groups Projects
Commit d12d4c78 authored by Thomas G. Lockhart's avatar Thomas G. Lockhart
Browse files

Add wildcard asterisk to the UNLISTEN syntax.

parent 4c923917
No related branches found
No related tags found
No related merge requests found
This diff is collapsed.
......@@ -10,7 +10,7 @@
*
*
* 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
* AUTHOR DATE MAJOR EVENT
......@@ -2101,6 +2101,12 @@ UnlistenStmt: UNLISTEN relation_name
n->relname = $2;
$$ = (Node *)n;
}
| UNLISTEN '*'
{
UnlistenStmt *n = makeNode(UnlistenStmt);
n->relname = "*";
$$ = (Node *)n;
}
;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment