Error en la Consulta SQL SELECT to_timestamp(fechahora , 'yymmddhh24miss')::text::timestamp as fecha,
velocidad_rachas_viento,direccion_rachas_viento,
temperatura ,humedad ,presion,rad_solar_global ,indice_uv,precipitacion
FROM parametros_milagro ORDER BY to_timestamp(fechahora , 'yymmddhh24miss')::text::timestamp desc LIMIT 1