postgres greater than datetime query code example Example: ilike for date postgres column::text LIKE '2011-01-%'