1
0
mirror of https://github.com/postgres/postgres.git synced 2025-08-05 07:41:25 +03:00

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
This commit is contained in:
Daniel Gustafsson
2024-10-14 10:15:33 +02:00
parent a2d9a9b95a
commit 40f4f2fa65

View File

@@ -221,6 +221,7 @@ COPY { <replaceable class="parameter">table_name</replaceable> [ ( <replaceable
<literal>csv</literal> (Comma Separated Values), <literal>csv</literal> (Comma Separated Values),
or <literal>binary</literal>. or <literal>binary</literal>.
The default is <literal>text</literal>. The default is <literal>text</literal>.
See <xref linkend="sql-copy-file-formats"/> below for details.
</para> </para>
</listitem> </listitem>
</varlistentry> </varlistentry>
@@ -650,10 +651,10 @@ COPY <replaceable class="parameter">count</replaceable>
</refsect1> </refsect1>
<refsect1> <refsect1 id="sql-copy-file-formats" xreflabel="File Formats">
<title>File Formats</title> <title>File Formats</title>
<refsect2> <refsect2 id="sql-copy-text-format" xreflabel="Text Format">
<title>Text Format</title> <title>Text Format</title>
<para> <para>
@@ -798,7 +799,7 @@ COPY <replaceable class="parameter">count</replaceable>
</para> </para>
</refsect2> </refsect2>
<refsect2> <refsect2 id="sql-copy-csv-format" xreflabel="CSV Format">
<title>CSV Format</title> <title>CSV Format</title>
<para> <para>
@@ -892,7 +893,7 @@ COPY <replaceable class="parameter">count</replaceable>
</refsect2> </refsect2>
<refsect2> <refsect2 id="sql-copy-binary-format" xreflabel="Binary Format">
<title>Binary Format</title> <title>Binary Format</title>
<para> <para>