fixed paging in postgre - adapter was using incorrect MySql-specific
syntax before