doc: Add example file for COPY
authorDaniel Gustafsson <[email protected]>
Wed, 16 Jul 2025 22:21:18 +0000 (00:21 +0200)
committerDaniel Gustafsson <[email protected]>
Wed, 16 Jul 2025 22:21:18 +0000 (00:21 +0200)
commitf6ffbeda00e08c4c8ac8cf72173f84157491bfde
tree179684616cc0629b7b09785595b8260a75c650cf
parent5e6e42e44fe10cab616b4fbe9725df03c987c90a
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 <[email protected]>
Reviewed-by: Fujii Masao <[email protected]>
Reviewed-by: Tom Lane <[email protected]>
Discussion: https://postgr.es/m/158017814191.19852.15019251381150731439@wrigleys.postgresql.org
Backpatch-through: 13
doc/src/sgml/query.sgml