camel1cz wrote:
Dominique, the || is string concatenation, not logical OR... it will evaluate to the pattern '%ip.address%' - at least in postgresql
OK, it's postgresql specific code, it would be better to use universal CONCAT function:
remote_webmail_ips_attribute like CONCAT('%', '%r', '%')
I see, I didnt' know that as I'm not familiar with postgresql... it seems to be different than all SQLs I used in the past. As I do understand that every language can choose its own syntax, it's weird to use double pipes for anything else than what the world considers it to mean, which is an logical OR... IMHO