node-postgres icon indicating copy to clipboard operation
node-postgres copied to clipboard

PG COPY via PG pool

Open Ivor808 opened this issue 1 year ago • 0 comments

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?

Ivor808 avatar Jul 25 '24 23:07 Ivor808