Ruby on Rails 5.2.3
Class
PG::Connection
<
Object
activerecord/lib/active_record/connection_adapters/postgresql_adapter.rb
Use async_exec instead of exec_params on pg versions before 1.1