node-postgres
node-postgres copied to clipboard
PG COPY via PG pool
Clarification please. I am using the pg node pg copy extension. It seems that you have to create a client from a pool, run the copy and then release it.
We cannot
- reuse the client
- run pg copy via pg.pool.query()
is the above correct?