Load docs using COPY instead of INSERT
commitc028ce47ea0d928b68f70b064761fcd479ffe086
authorMagnus Hagander <magnus@hagander.net>
Fri, 22 Feb 2019 15:38:19 +0000 (22 16:38 +0100)
committerMagnus Hagander <magnus@hagander.net>
Fri, 22 Feb 2019 15:39:41 +0000 (22 16:39 +0100)
tree4aa56904b24bdda0049caddd3d12d57100d48e60
parente7099c90ead4bb3575109f68e1cbd548c138941c
Load docs using COPY instead of INSERT

Issuing individual INSERTs for each line in the docs works decently when
local, but it slow when loading across The Tubes Of The Internet.
Switching to using COPY takes the load time from the buildfarm animal
from just over 2 minutes to about 6-7 seconds.
tools/docs/docload.py