writeToCopy
Writes a chunk of data to the server.
Each call is one protocol message and one flush, so chunks want to be substantial rather than row-sized. Nothing is validated against the target table here; the server checks the data when it parses it, and a malformed chunk surfaces from endCopy rather than from this call.
Parameters
Throws
RESOURCE_CLOSED if the operation has already finished.