Copy Documentation

From: PG Doc comments form <noreply(at)postgresql(dot)org>
To: pgsql-docs(at)lists(dot)postgresql(dot)org
Cc: duncan(at)rotherbridge(dot)com(dot)au
Subject: Copy Documentation
Date: 2022-02-18 01:19:46
Message-ID: 164514718677.688.14593465684586266955@wrigleys.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-docs

The following documentation comment has been logged on the website:

Page: https://www.postgresql.org/docs/14/sql-copy.html
Description:

The documentation states that headers are only used for CSV files, but there
is a header "PGCOPY" when using a BINARY export. e.g.
COPY (SELECT zipfile FROM file_upload) TO PROGRAM 'cat > /tmp/dunc ' (FORMAT
binary);
Please can we have an example of using COPY (server/plpgsql) to copy a bytea
(eg image) column to an image file, unchanged - i.e. no headers.

Responses

Browse pgsql-docs by date

  From Date Subject
Next Message Peter Eisentraut 2022-02-18 07:07:48 Re: maximum number of backtrace frames logged by backtrace_functions
Previous Message David G. Johnston 2022-02-17 06:51:02 Re: range data type size not mention in docs.