Detect pgsql "double precision" for null_if_empty