I have an integer column and I need to search for rows in which the said column starts with 19
In MySQL I would use SELECT ... WHERE id LIKE \'19%\'
id
In Postgres LIKE is string compare only - that explains the error.
You can explicitly cast the column to string though:
select * from "table" where id::text like '19%'