Hi,
--------------------------------------------------------------------------------ERROR: function to_date(timestamp with time zone, unknown) does not existLINE 1: SELECT to_date(now() + '-7day', 'YYYY-MM-DD') ^********** Error **********Of course, the most reliable way to deal with it is to rewrite the application or SQL to handle types strictly, but the application is large and rewrite is a terrible job. Is there any easy way to maintain compatibility?
--------------------------------------------------------------------------------
ERROR: function to_date(timestamp with time zone, unknown) does not exist
LINE 1: SELECT to_date(now() + '-7day', 'YYYY-MM-DD')
^
********** Error **********
Of course, the most reliable way to deal with it is to
rewrite the application or SQL to handle types strictly,
but the application is large and rewrite is a terrible job.
Is there any easy way to maintain compatibility?
pgsql-general by date:
Соглашаюсь с условиями обработки персональных данных