Migrate to pgx library for Postgres access
Created by: tsenart
The package we use, https://github.com/lib/pq, states the following:
This package is effectively in maintenance mode and is not actively developed. Small patches and features are only rarely reviewed and merged. We recommend using pgx which is actively maintained.