sfackler / rust-postgres

Native PostgreSQL driver for the Rust programming language

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

A way to supply your own binary for copy

funlennysub opened this issue · comments

Is there a way i can pass my own byte array to copy command? From my testing current writer takes ~5 minutes on my laptop to output a binary for ~9mil entries (15 fields) while my own simple impl takes ~20 sec, I'd like to spend as little time as possible on generation if possible