Update resource_adapter.rb

 I'm receiving this error : subquery has too many columns
 I'm using postgresSQL