You trace output also included this:
install_driver: DBD::Pg version undef loaded from /usr/lib64/perl5/vendor_perl/Bundle/DBD/Pg.pmIs that the expected / same location on both hosts? That the version is 'undef' is a bit surprising. And that we don't see the load/install debug line to begin with.
-- Mark Lawrence