Problem with: select * from eventi_vari where scadenza < now() and tipo like '' and extract(year from scadenza) = '' and abilitato ilike 'si' order by scadenza desc,chiave, chiave2, scadenza desc ERROR: invalid input syntax for type double precision: ""
LINE 1: ...d tipo like '' and extract(year from scadenza) = '' and a...
^