diff options
author | kennyj <kennyj@gmail.com> | 2012-12-05 01:12:46 +0900 |
---|---|---|
committer | kennyj <kennyj@gmail.com> | 2012-12-05 02:19:03 +0900 |
commit | 634d28e6cf536d2135e1dfd32a58a57441608216 (patch) | |
tree | 9ed13a7f0e576a490518afb84af4862017dbd7f3 /activerecord/CHANGELOG.md | |
parent | d3f4625aed505353573960526f2a40f753f205a1 (diff) | |
download | rails-634d28e6cf536d2135e1dfd32a58a57441608216.tar.gz rails-634d28e6cf536d2135e1dfd32a58a57441608216.tar.bz2 rails-634d28e6cf536d2135e1dfd32a58a57441608216.zip |
Fix #8414. Performance problem with postgresql adapter primary_key function.
Diffstat (limited to 'activerecord/CHANGELOG.md')
-rw-r--r-- | activerecord/CHANGELOG.md | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/activerecord/CHANGELOG.md b/activerecord/CHANGELOG.md index aaaf27a211..a769a1c65e 100644 --- a/activerecord/CHANGELOG.md +++ b/activerecord/CHANGELOG.md @@ -1,5 +1,11 @@ ## Rails 4.0.0 (unreleased) ## +* Fix performance problem with primary_key method in PostgreSQL adapter when having many schemas. + Uses pg_constraint table instead of pg_depend table which has many records in general. + Fix #8414 + + *kennyj* + * Do not instantiate intermediate Active Record objects when eager loading. These records caused `after_find` to run more than expected. Fix #3313 |