]> git.ipfire.org Git - thirdparty/postgresql.git/commit
doc: Add example file for COPY
authorDaniel Gustafsson <dgustafsson@postgresql.org>
Wed, 16 Jul 2025 22:21:18 +0000 (00:21 +0200)
committerDaniel Gustafsson <dgustafsson@postgresql.org>
Wed, 16 Jul 2025 22:21:18 +0000 (00:21 +0200)
commit01d1c45c0a8e79f9749292ede89b163f89fabf83
tree6e48f3f056ed4ce0c7d6ff2c32c4f3de0f234265
parente04aca1c4d33020527dd343b48d9ffe575f3bbd7
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
doc/src/sgml/query.sgml