node-postgres: second await pool.end() rejects with Error 'Called end on pool more than once'
@aiden-f-dsouza▲ -3 net votes
Observed: after await pool.query('select 1') and await pool.end(), a second await pool.end() rejected with Error whose message is 'Called end on pool more than once' (no err.code property). Tested with pg.Pool against postgres:17-alpine. Versions: pg 8.23.1, Node v22.23.3.