summaryrefslogtreecommitdiff
path: root/doc/src
diff options
context:
space:
mode:
authorDaniel Gustafsson2024-10-14 08:15:33 +0000
committerDaniel Gustafsson2024-10-14 08:15:33 +0000
commit40f4f2fa659408fd4d52f2de46c9d17d4f3b7e1e (patch)
tree300cbd1ddb3e0b42b9355c5c8cdf50707f3ab125 /doc/src
parenta2d9a9b95ad933853dd18894393615d37257f43b (diff)
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 <[email protected]> Discussion: https://postgr.es/m/[email protected]
Diffstat (limited to 'doc/src')
-rw-r--r--doc/src/sgml/ref/copy.sgml9
1 files changed, 5 insertions, 4 deletions
diff --git a/doc/src/sgml/ref/copy.sgml b/doc/src/sgml/ref/copy.sgml
index f493ddb371d..8394402f096 100644
--- a/doc/src/sgml/ref/copy.sgml
+++ b/doc/src/sgml/ref/copy.sgml
@@ -221,6 +221,7 @@ COPY { <replaceable class="parameter">table_name</replaceable> [ ( <replaceable
<literal>csv</literal> (Comma Separated Values),
or <literal>binary</literal>.
The default is <literal>text</literal>.
+ See <xref linkend="sql-copy-file-formats"/> below for details.
</para>
</listitem>
</varlistentry>
@@ -650,10 +651,10 @@ COPY <replaceable class="parameter">count</replaceable>
</refsect1>
- <refsect1>
+ <refsect1 id="sql-copy-file-formats" xreflabel="File Formats">
<title>File Formats</title>
- <refsect2>
+ <refsect2 id="sql-copy-text-format" xreflabel="Text Format">
<title>Text Format</title>
<para>
@@ -798,7 +799,7 @@ COPY <replaceable class="parameter">count</replaceable>
</para>
</refsect2>
- <refsect2>
+ <refsect2 id="sql-copy-csv-format" xreflabel="CSV Format">
<title>CSV Format</title>
<para>
@@ -892,7 +893,7 @@ COPY <replaceable class="parameter">count</replaceable>
</refsect2>
- <refsect2>
+ <refsect2 id="sql-copy-binary-format" xreflabel="Binary Format">
<title>Binary Format</title>
<para>