Doc anchors for COPY formats - Mailing list pgsql-hackers

From Dagfinn Ilmari Mannsåker
Subject Doc anchors for COPY formats
Date
Msg-id 87edatit3t.fsf@wibble.ilmari.org
Whole thread Raw
Responses Re: Doc anchors for COPY formats
List pgsql-hackers
Hi hackers,

An IRC conversation just now made me notice that it would be handy to
have stable links for the descrpitions of the various COPY formats, per
the attached patch.

- ilmari

From 5e59273370a39cd46627b89145a7c06dd6f00f7d Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Dagfinn=20Ilmari=20Manns=C3=A5ker?= <ilmari@ilmari.org>
Date: Thu, 25 Apr 2024 12:09:14 +0100
Subject: [PATCH] Add anchors for COPY format descriptions

---
 doc/src/sgml/ref/copy.sgml | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/doc/src/sgml/ref/copy.sgml b/doc/src/sgml/ref/copy.sgml
index 1ce19668d8..6851293854 100644
--- a/doc/src/sgml/ref/copy.sgml
+++ b/doc/src/sgml/ref/copy.sgml
@@ -630,7 +630,7 @@
  <refsect1>
   <title>File Formats</title>
 
-  <refsect2>
+  <refsect2 id="sql-copy-text-format">
    <title>Text Format</title>
 
    <para>
@@ -770,7 +770,7 @@
    </para>
   </refsect2>
 
-  <refsect2>
+  <refsect2 id="sql-copy-csv-format">
    <title>CSV Format</title>
 
    <para>
@@ -855,7 +855,7 @@
 
   </refsect2>
 
-  <refsect2>
+  <refsect2 id="sql-copy-binary-format">
    <title>Binary Format</title>
 
    <para>
-- 
2.39.2


pgsql-hackers by date:

Previous
From: Pavel Stehule
Date:
Subject: Re: broken reading on standby (PostgreSQL 16.2)
Next
From: Ashutosh Bapat
Date:
Subject: Re: Short-circuit sort_inner_and_outer if there are no mergejoin clauses