diff options
-rw-r--r-- | activerecord/CHANGELOG | 2 | ||||
-rw-r--r-- | activerecord/lib/active_record/connection_adapters/postgresql_adapter.rb | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/activerecord/CHANGELOG b/activerecord/CHANGELOG index 0a74c34cd2..02d5be202f 100644 --- a/activerecord/CHANGELOG +++ b/activerecord/CHANGELOG @@ -4,7 +4,7 @@ * Oracle: overflow Time to DateTime. #7718 [Michael Schoen] -* PostgreSQL: don't use async_exec and async_query with postgres-pr. #7727 [flowdelic] +* PostgreSQL: don't use async_exec and async_query with postgres-pr. #7727, #7762 [flowdelic, toolmantim] * Fix has_many :through << with custom foreign keys. #6466, #7153 [naffis, Rich Collins] diff --git a/activerecord/lib/active_record/connection_adapters/postgresql_adapter.rb b/activerecord/lib/active_record/connection_adapters/postgresql_adapter.rb index 1c469f44a1..c4bd2c8a04 100644 --- a/activerecord/lib/active_record/connection_adapters/postgresql_adapter.rb +++ b/activerecord/lib/active_record/connection_adapters/postgresql_adapter.rb @@ -57,7 +57,7 @@ module ActiveRecord @config = config # Ignore async_exec and async_query with the postgres-pr client lib. - @async = config[:allow_concurrency] && @connection.respond_to(:async_exec) + @async = config[:allow_concurrency] && @connection.respond_to?(:async_exec) configure_connection end |