Add wildcard asterisk to the UNLISTEN syntax.

This commit is contained in:
Thomas G. Lockhart 1998-10-09 07:06:37 +00:00
parent 4c9239173a
commit d12d4c78e5
2 changed files with 4210 additions and 4170 deletions

File diff suppressed because it is too large Load Diff

View File

@ -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;
}
;