Skip to content

Commit 40f4f2f

Browse files
doc: Add anchors for COPY format descriptions
When answering support questions online it's helpful to be able to refer to the specific format by using an anchored link. Author: Dagfinn Ilmari Mannsåker <ilmari@ilmari.org> Discussion: https://postgr.es/m/87edatit3t.fsf@wibble.ilmari.org
1 parent a2d9a9b commit 40f4f2f

File tree

1 file changed

+5
-4
lines changed

1 file changed

+5
-4
lines changed

doc/src/sgml/ref/copy.sgml

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -221,6 +221,7 @@ COPY { <replaceable class="parameter">table_name</replaceable> [ ( <replaceable
221221
<literal>csv</literal> (Comma Separated Values),
222222
or <literal>binary</literal>.
223223
The default is <literal>text</literal>.
224+
See <xref linkend="sql-copy-file-formats"/> below for details.
224225
</para>
225226
</listitem>
226227
</varlistentry>
@@ -650,10 +651,10 @@ COPY <replaceable class="parameter">count</replaceable>
650651

651652
</refsect1>
652653

653-
<refsect1>
654+
<refsect1 id="sql-copy-file-formats" xreflabel="File Formats">
654655
<title>File Formats</title>
655656

656-
<refsect2>
657+
<refsect2 id="sql-copy-text-format" xreflabel="Text Format">
657658
<title>Text Format</title>
658659

659660
<para>
@@ -798,7 +799,7 @@ COPY <replaceable class="parameter">count</replaceable>
798799
</para>
799800
</refsect2>
800801

801-
<refsect2>
802+
<refsect2 id="sql-copy-csv-format" xreflabel="CSV Format">
802803
<title>CSV Format</title>
803804

804805
<para>
@@ -892,7 +893,7 @@ COPY <replaceable class="parameter">count</replaceable>
892893

893894
</refsect2>
894895

895-
<refsect2>
896+
<refsect2 id="sql-copy-binary-format" xreflabel="Binary Format">
896897
<title>Binary Format</title>
897898

898899
<para>

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy