HomeSoftware Heritage

db: use a thread instead of a tmpfile to COPY data to postgresql
a0ac20adaa34Unpublished

Unpublished Commit · Learn More

Repository Importing: This repository is still importing.

Description

db: use a thread instead of a tmpfile to COPY data to postgresql

Summary:
Avoids writing a bunch of temporary files for no good reason. T866 was a symptom
of this.

Test Plan: No regressions in the unit tests

Reviewers: Reviewers!

Differential Revision: https://forge.softwareheritage.org/D282

Details

Provenance
olasdAuthored on Dec 21 2017, 7:45 PM
vlorentzPushed on May 17 2019, 1:53 PM
Differential Revision
D282: db: use a thread instead of a tmpfile to COPY data to postgresql
Parents
rDSTOC419d1355dcb5: db: move external imports further down
Branches
Unknown
Tags
Unknown