-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On 05-09-2014 17:03, Leonel Câmara wrote: > I feel like the only clean approach is to have a LIKE and a ILIKE. >
Me too. > The problem is that we don't have any mechanism to make compatibility breaking > changes. > > I think ideally applications should report what version of web2py or of the > DAL > they were made for (and if they don't, we assume they're older than 2.9.6 or > something). That way we could have a PostgresPre296Adapter that had the old > LIKE > implementation and we would use that for the older applications. > > I'm all for maintaining backwards compatibility, I think it is absolutely > indispensable, but we need a sane way to move forward while keeping it. > Perhaps this could be addressed in DAL initialization,,, something like: db = DAL( ..., case_sensitive_like=True ) with the default value being set to False? - -- Com os melhores cumprimentos, Carlos Correia ========================= MEMÓRIA PERSISTENTE Tel.: 219 291 591 - GSM: 917 157 146 / 967 511 762 e-mail: [email protected] - URL: http://www.memoriapersistente.pt Jabber: [email protected] GnuPG: wwwkeys.eu.pgp.net URL Suporte: https://t5.m16e.com/gps -----BEGIN PGP SIGNATURE----- Version: GnuPG v1 iEYEARECAAYFAlQh6kcACgkQ90uzwjA1SJXY+gCgzfBJYbKEEmDp8utT+BpL/CMV ih4AnRmk91F0lpGZccDOEKHZLWbDruUg =s0w5 -----END PGP SIGNATURE----- -- Resources: - http://web2py.com - http://web2py.com/book (Documentation) - http://github.com/web2py/web2py (Source code) - https://code.google.com/p/web2py/issues/list (Report Issues) --- You received this message because you are subscribed to the Google Groups "web2py-users" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/d/optout.

