mirror of
https://github.com/postgres/postgres.git
synced 2025-11-04 20:11:56 +03:00
Here's a patch. It also includes the latest parser changes.
Michael
This commit is contained in:
@@ -3,7 +3,7 @@ include $(SRCDIR)/Makefile.global
|
||||
|
||||
MAJOR_VERSION=2
|
||||
MINOR_VERSION=4
|
||||
PATCHLEVEL=3
|
||||
PATCHLEVEL=4
|
||||
|
||||
CFLAGS+=-I../include -DMAJOR_VERSION=$(MAJOR_VERSION) \
|
||||
-DMINOR_VERSION=$(MINOR_VERSION) -DPATCHLEVEL=$(PATCHLEVEL) \
|
||||
|
||||
@@ -2153,6 +2153,10 @@ UnlistenStmt: UNLISTEN relation_name
|
||||
{
|
||||
$$ = cat2_str(make1_str("unlisten"), $2);
|
||||
}
|
||||
| UNLISTEN '*'
|
||||
{
|
||||
$$ = make1_str("unlisten *");
|
||||
}
|
||||
;
|
||||
|
||||
/*****************************************************************************
|
||||
@@ -3796,9 +3800,9 @@ AexprConst: Iconst
|
||||
}
|
||||
;
|
||||
|
||||
ParamNo: PARAM
|
||||
ParamNo: PARAM opt_indirection
|
||||
{
|
||||
$$ = make_name();
|
||||
$$ = cat2_str(make_name(), $2);
|
||||
}
|
||||
;
|
||||
|
||||
@@ -3896,6 +3900,7 @@ ColId: ident { $$ = $1; }
|
||||
| STDIN { $$ = make1_str("stdin"); }
|
||||
| STDOUT { $$ = make1_str("stdout"); }
|
||||
| TIME { $$ = make1_str("time"); }
|
||||
| TIMESTAMP { $$ = make1_str("timestamp"); }
|
||||
| TIMEZONE_HOUR { $$ = make1_str("timezone_hour"); }
|
||||
| TIMEZONE_MINUTE { $$ = make1_str("timezone_minute"); }
|
||||
| TRIGGER { $$ = make1_str("trigger"); }
|
||||
|
||||
Reference in New Issue
Block a user