I have a postgresql server set up on a CentOS 8 machine, and a js program running on the same machine, using the pg library.
pg
const { Pool } = require