Use COPY instead of \copy
Use COPY instead of \copy

\copy is a wrapper around COPY which simply sets the output to STDOUT in
order to create a local file. Since we're outputting to STDOUT anyways,
there's no point in using \copy.

fphilipe/psql2csv