lib / pq

Pure Go Postgres driver for database/sql
https://pkg.go.dev/github.com/lib/pq
MIT License
8.98k stars 909 forks source link

Return rows copied for COPY command #985

Closed philipglazman closed 4 years ago

philipglazman commented 4 years ago

Return number of rows copied for COPY command from the CommandComplete postgres message.

Only the final Exec(nil) call will return the driver.Result with rowsAffected.