web2py/pydal — pull request #10 by ilvalle (2014-12-22 14:57:23+00:00)
Title: Few fix for NewPostgreSQLAdapter

The current implementation of all/many operators expects that the first parameter is a field object.
By introducing the ANY postgres operator, that assumption is no longer true. This works:
```sql
SELECT *
from tt
where 'aaa' = ANY(aa)
```
this doesn't:
```sql
SELECT *
from tt
where ANY(aa) = 'aaa'
```
As a result, instead to update the EQ and ILIKE operators in BaseAdapter, I override them directly in NewPostgreSQLAdapter.