localytics / odbc_adapter

An ActiveRecord ODBC adapter
MIT License
46 stars 107 forks source link

Postgresql 10.10? #34

Open JohnSmall opened 4 years ago

JohnSmall commented 4 years ago

I'm having problems running the tests against a Postgresql 10.10 database. The tests run just fine in the docker container, which uses Postgresql 9.4.x

Against a 10.10 postgres db I get this error

   ODBC_UTF8::Error: INTERN (0) [RubyODBC]Too much parameters: SELECT  "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 LIMIT $2 

Is this a problem with postgres 10.10, or is it another problem? I'm running client and db inside Ubuntu 18.04

Muhammad-Arslan-Ahmad commented 4 years ago

did u find any solution? facing same issues INTERN (0) [RubyODBC]Too much parameters: SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 LIMIT $2 (ActiveRecord::StatementInvalid)