8000
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d63571a commit ac2b9aeCopy full SHA for ac2b9ae
src/interfaces/ecpg/preproc/preproc.y
@@ -3479,8 +3479,13 @@ extract_list: extract_arg FROM a_expr
3479
{ $$ = EMPTY; }
3480
;
3481
3482
+/* Allow delimited string SCONST in extract_arg as an SQL extension.
3483
+ * - thomas 2001-04-12
3484
+ */
3485
+
3486
extract_arg: datetime { $$ = $1; }
- | IDENT { $$ = $1; }
3487
+ | SCONST { $$ = $1; }
3488
+ | IDENT { $$ = $1; }
3489
| TIMEZONE_HOUR { $$ = make_str("timezone_hour"); }
3490
| TIMEZONE_MINUTE { $$ = make_str("timezone_minute"); }
3491
0 commit comments