The PGconn, PGresult, and PGError constants are deprecated, and will be removed as of version 1.0.
After upgrade of Foreman nightly from foreman 0:1.18.0-0.develop.201802191629git3de2d5a.el7 to 0:1.18.0-0.develop.201802230850gitbdcdb09.el7, I have ran `foreman-installer --upgrade` and I see lots of these warnings (1 per each step (?)):
/opt/rh/tfm-ror51/root/usr/share/gems/gems/activesupport-5.1.4/lib/active_support/message_encryptor.rb:22: warning: previous definition of DEFAULT_CIPHER was here The PGconn, PGresult, and PGError constants are deprecated, and will be removed as of version 1.0. You should use PG::Connection, PG::Result, and PG::Error instead, respectively. Called from /opt/theforeman/tfm/root/usr/share/gems/gems/polyglot-0.3.5/lib/polyglot.rb:65:in `require'