Details
-
Bug
-
Status: Open
-
Major
-
Resolution: Unresolved
-
1.11.0
-
None
-
None
Description
The following date/time functions fails when escaping double quotes:
sql_to_time
sql_to_date
sql_to_timestamp
select sql_to_date('"2017 March"', '\"YYYY Month"\') from (values(1));
Error: FUNCTION ERROR: Error parsing date-time "2017 March" in sql_to_date function
This works from postgres:
postgres=# select to_date('"2017 March"', '\"YYYY Month\"');
to_date
------------
2017-03-01