change like pattern to have single rather than double quotes for postgres