Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
Skip to content

Commit ac2b9ae

Browse files
committed
Synced gram.y and preproc.y.
1 parent d63571a commit ac2b9ae

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

src/interfaces/ecpg/preproc/preproc.y

+6-1
Original file line numberDiff line numberDiff line change
@@ -3479,8 +3479,13 @@ extract_list: extract_arg FROM a_expr
34793479
{ $$ = EMPTY; }
34803480
;
34813481

3482+
/* Allow delimited string SCONST in extract_arg as an SQL extension.
3483+
* - thomas 2001-04-12
3484+
*/
3485+
34823486
extract_arg: datetime { $$ = $1; }
3483-
| IDENT { $$ = $1; }
3487+
| SCONST { $$ = $1; }
3488+
| IDENT { $$ = $1; }
34843489
| TIMEZONE_HOUR { $$ = make_str("timezone_hour"); }
34853490
| TIMEZONE_MINUTE { $$ = make_str("timezone_minute"); }
34863491
;

0 commit comments

Comments
 (0)