I'd like to query a series of integer columns which look like this: 10, 1010, 101010, 201010
I want all the ones which start with 10. Changing them to string columns is not an option.
My feeling is that this is potentially achievable using bitstring operators: http://www.postgresql.org/docs/9.3/static/functions-bitstring.html