postgrsql how to make search by character code example Example: postgresql contains SELECT id FROM TAG_TABLE WHERE 'aaaaaaaa' LIKE '%' || tag_name || '%';