Project

General

Profile

Actions

Bug #22673

closed

The PGconn, PGresult, and PGError constants are deprecated, and will be removed as of version 1.0.

Added by Jan Hutař about 6 years ago. Updated 9 months ago.

Status:
Closed
Priority:
Low
Assignee:
-
Category:
Upgrades
Target version:
Difficulty:
Triaged:
Yes
Fixed in Releases:
Found in Releases:

Description

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'
Actions

Also available in: Atom PDF