Implementing Ingres quirks in the visitor of arel (limit).