diff options
author | Matthew Draper <matthew@trebex.net> | 2017-03-23 03:58:19 +1030 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-03-23 03:58:19 +1030 |
commit | 911f44f72048708b83e75da067b2d292c8692106 (patch) | |
tree | 8080596d17475ed87688e7a48b76f194205d133f /activerecord/lib/active_record/connection_adapters/postgresql/utils.rb | |
parent | 22deb92216d83f64fa8e948abe305309b327b33a (diff) | |
parent | f28a331023fab241f694c53802b45fb2d66c2c4f (diff) | |
download | rails-911f44f72048708b83e75da067b2d292c8692106.tar.gz rails-911f44f72048708b83e75da067b2d292c8692106.tar.bz2 rails-911f44f72048708b83e75da067b2d292c8692106.zip |
Merge pull request #28522 from larskanis/replace-deprecated-pg-constants
[PostgreSQL] Replace deprecated PG constants.
Diffstat (limited to 'activerecord/lib/active_record/connection_adapters/postgresql/utils.rb')
-rw-r--r-- | activerecord/lib/active_record/connection_adapters/postgresql/utils.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/activerecord/lib/active_record/connection_adapters/postgresql/utils.rb b/activerecord/lib/active_record/connection_adapters/postgresql/utils.rb index a3f9ce6d64..aa7940188a 100644 --- a/activerecord/lib/active_record/connection_adapters/postgresql/utils.rb +++ b/activerecord/lib/active_record/connection_adapters/postgresql/utils.rb @@ -19,9 +19,9 @@ module ActiveRecord def quoted if schema - PGconn.quote_ident(schema) << SEPARATOR << PGconn.quote_ident(identifier) + PG::Connection.quote_ident(schema) << SEPARATOR << PG::Connection.quote_ident(identifier) else - PGconn.quote_ident(identifier) + PG::Connection.quote_ident(identifier) end end |