Postgresql Check If Column Contains String In C