HEADER n is for reading only
COPY TO can write one header line, not two.
task
Run COPY (SELECT 1) TO STDOUT with HEADER 2 and read the error.
Run a query to see rows here.
Run EXPLAIN on the statement under the cursor: Plan tab, button Explain.
No tables yet.
COPY TO can write one header line, not two.
Run COPY (SELECT 1) TO STDOUT with HEADER 2 and read the error.