diff options
author | Lars Kanis <lars@greiz-reinsdorf.de> | 2018-05-27 12:53:47 +0200 |
---|---|---|
committer | Lars Kanis <lars@greiz-reinsdorf.de> | 2018-05-27 12:53:47 +0200 |
commit | 8d5c71ee7f3baf0f05d05d62bbc16ce13bc4679e (patch) | |
tree | 392698bcb261b2dce840e424b3bf0745b7fb1da4 /activerecord/lib/active_record/log_subscriber.rb | |
parent | 6349ad300f2cace625b1c733410c4a39c91028ec (diff) | |
download | rails-8d5c71ee7f3baf0f05d05d62bbc16ce13bc4679e.tar.gz rails-8d5c71ee7f3baf0f05d05d62bbc16ce13bc4679e.tar.bz2 rails-8d5c71ee7f3baf0f05d05d62bbc16ce13bc4679e.zip |
PostgreSQL: Prepare for pg-1.1.0
Version 1.1.0 deprecates exec and async_exec with a params array due to
distinct semantics between calls with and without params array.
Instead exec_params or async_exec_params shall be used.
Moreover in pg-1.1.0 exec_* and prepare methods are aliases for async_exec_*
and async_prepare. async_* methods don't need to be called explicit -
they are the default now, when calling exec_* and prepare.
For pg versions before 1.1, keep using async_exec.
Diffstat (limited to 'activerecord/lib/active_record/log_subscriber.rb')
0 files changed, 0 insertions, 0 deletions