Update libpqxx usage to move away from deprecated API interactions.

Created by  Kevin Quick  on January 12, 2020
DKR2GXSAVIZGOR3HEAD46SZWTRXJO2EH43H57P2365Y5M2QCQHDAC
Dependencies
In channels
main
upstream
Change contents