pgsql: doc: Add example file for COPY - Mailing list pgsql-committers

From Daniel Gustafsson
Subject pgsql: doc: Add example file for COPY
Date
Msg-id E1ucAsk-006eyk-1U@gemulon.postgresql.org
Whole thread Raw
List pgsql-committers
doc: Add example file for COPY

The paragraph for introducing INSERT and COPY discussed how a file
could be used for bulk loading with COPY, without actually showing
what the file would look like.  This adds a programlisting for the
file contents.

Backpatch to all supported branches since this example has lacked
the file contents since PostgreSQL 7.2.

Author: Daniel Gustafsson <daniel@yesql.se>
Reviewed-by: Fujii Masao <masao.fujii@oss.nttdata.com>
Reviewed-by: Tom Lane <tgl@sss.pgh.pa.us>
Discussion: https://postgr.es/m/158017814191.19852.15019251381150731439@wrigleys.postgresql.org
Backpatch-through: 13

Branch
------
REL_14_STABLE

Details
-------
https://git.postgresql.org/pg/commitdiff/01d1c45c0a8e79f9749292ede89b163f89fabf83

Modified Files
--------------
doc/src/sgml/query.sgml | 14 ++++++++++++--
1 file changed, 12 insertions(+), 2 deletions(-)


pgsql-committers by date:

Previous
From: Daniel Gustafsson
Date:
Subject: pgsql: doc: Add example file for COPY
Next
From: Daniel Gustafsson
Date:
Subject: pgsql: doc: Add example file for COPY