PostgreSQL Connect: 0: ERROR: function to_number(double precision, unknown) does not exist
LINE 1: SELECT id, name, descr, to_number(count/(date_part('day',now...
^
HINT: No function matches the given name and argument types. You might need to add explicit type casts.