mirror of
https://git.postgresql.org/git/postgresql.git
synced 2025-01-30 19:00:29 +08:00
Synced gram.y and preproc.y.
This commit is contained in:
parent
d63571a7f4
commit
ac2b9aee1c
@ -3479,8 +3479,13 @@ extract_list: extract_arg FROM a_expr
|
||||
{ $$ = EMPTY; }
|
||||
;
|
||||
|
||||
/* Allow delimited string SCONST in extract_arg as an SQL extension.
|
||||
* - thomas 2001-04-12
|
||||
*/
|
||||
|
||||
extract_arg: datetime { $$ = $1; }
|
||||
| IDENT { $$ = $1; }
|
||||
| SCONST { $$ = $1; }
|
||||
| IDENT { $$ = $1; }
|
||||
| TIMEZONE_HOUR { $$ = make_str("timezone_hour"); }
|
||||
| TIMEZONE_MINUTE { $$ = make_str("timezone_minute"); }
|
||||
;
|
||||
|
Loading…
Reference in New Issue
Block a user