Don't need to escape floats as well as ints.
add "redshift" case for connections in case we ever need to support the difference.