>
> perl -MDBD::Pg -e'print $DBD::Pg::VERSION'
> EL8 3.7.4
> EL7 2.19.3


Yep, that explains it. Version 2.19.3 was released in 2012. The next
version, 3.0.0, made some major changes to the handling of UTF-8. As a
matter of fact, that was one of the reasons for making a major bump to 3.x
rather than releasing a 2.x

Both of those versions were released over a decade ago! Version 3.7.4 was
released in 2018.

It's generally best to use the "cpanm" program or similar to install a
newer version of DBI, DBD::Pg, etc. rather than relying on the underlying
OS.

Cheers,
Greg

Reply via email to