Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Make remote COPY calls interruptible
Refactor COPY code for both "in" and "out" mode so that it is non-blocking and interruptible. This will allow canceling queries and ingest paths that use COPY between the access node and data nodes. Canceling can be done using statement timeouts or user interrupts (ctrl-c). Most of the COPY-related code (that calls libpq functions) has been moved to the remote connection module. Previously, similar code was duplicated across multiple locations. Closes timescale#4958
- Loading branch information