v1-0001-DOC-Fix-formatting-of-ALTER-TABLE-REPLICA-IDENTIT.patch
application/octet-stream
Filename: v1-0001-DOC-Fix-formatting-of-ALTER-TABLE-REPLICA-IDENTIT.patch
Type: application/octet-stream
Part: 0
Patch
Same data as JSON:
GET /api/v1/attachments/:id/patch
the parsed metadata as JSON — format, series position, per-file stats; never the diff bytes.
API reference →
Format: format-patch
Series: patch v1-0001
Subject: DOC: Fix formatting of ALTER TABLE REPLICA IDENTITY documentation
| File | + | − |
|---|---|---|
| doc/src/sgml/ref/alter_table.sgml | 44 | 43 |
From 903ccbcb4efbf8d4defa06a3da609175ec1a14ef Mon Sep 17 00:00:00 2001
From: "Chao Li (Evan)" <lic@highgo.com>
Date: Wed, 17 Dec 2025 16:21:30 +0800
Subject: [PATCH v1] DOC: Fix formatting of ALTER TABLE REPLICA IDENTITY
documentation
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
Adjust the SGML markup for the ALTER TABLE … REPLICA IDENTITY section to
correct paragraph structure and indentation. Move the closing </para>
to the proper location and normalize spacing within the <variablelist>.
No content or behavioral changes; this is a documentation formatting fix
only.
Author: Chao Li <lic@highgo.com>
---
doc/src/sgml/ref/alter_table.sgml | 87 ++++++++++++++++---------------
1 file changed, 44 insertions(+), 43 deletions(-)
diff --git a/doc/src/sgml/ref/alter_table.sgml b/doc/src/sgml/ref/alter_table.sgml
index 9abd8037f28..c532fc77988 100644
--- a/doc/src/sgml/ref/alter_table.sgml
+++ b/doc/src/sgml/ref/alter_table.sgml
@@ -965,49 +965,50 @@ WITH ( MODULUS <replaceable class="parameter">numeric_literal</replaceable>, REM
from the new value; however, if the old value is stored externally, it is
always logged regardless of whether it changed.
This option has no effect except when logical replication is in use.
- <variablelist>
- <varlistentry id="sql-altertable-replica-identity-default">
- <term><literal>DEFAULT</literal></term>
- <listitem>
- <para>
- Records the old values of the columns of the primary key.
- This is the default for non-system tables.
- When there is no primary key, the behavior is the same as <literal>NOTHING</literal>.
- </para>
- </listitem>
- </varlistentry>
-
- <varlistentry id="sql-altertable-replica-identity-using-index">
- <term><literal>USING INDEX <replaceable class="parameter">index_name</replaceable></literal></term>
- <listitem>
- <para>
- Records the old values of the columns covered by the named index,
- that must be unique, not partial, not deferrable, and include only
- columns marked <literal>NOT NULL</literal>. If this index is
- dropped, the behavior is the same as <literal>NOTHING</literal>.
- </para>
- </listitem>
- </varlistentry>
-
- <varlistentry id="sql-altertable-replica-identity-full">
- <term><literal>FULL</literal></term>
- <listitem>
- <para>
- Records the old values of all columns in the row.
- </para>
- </listitem>
- </varlistentry>
-
- <varlistentry id="sql-altertable-replica-identity-nothing">
- <term><literal>NOTHING</literal></term>
- <listitem>
- <para>
- Records no information about the old row. This is the default for
- system tables.
- </para>
- </listitem>
- </varlistentry>
- </variablelist></para>
+ <variablelist>
+ <varlistentry id="sql-altertable-replica-identity-default">
+ <term><literal>DEFAULT</literal></term>
+ <listitem>
+ <para>
+ Records the old values of the columns of the primary key.
+ This is the default for non-system tables.
+ When there is no primary key, the behavior is the same as <literal>NOTHING</literal>.
+ </para>
+ </listitem>
+ </varlistentry>
+
+ <varlistentry id="sql-altertable-replica-identity-using-index">
+ <term><literal>USING INDEX <replaceable class="parameter">index_name</replaceable></literal></term>
+ <listitem>
+ <para>
+ Records the old values of the columns covered by the named index,
+ that must be unique, not partial, not deferrable, and include only
+ columns marked <literal>NOT NULL</literal>. If this index is
+ dropped, the behavior is the same as <literal>NOTHING</literal>.
+ </para>
+ </listitem>
+ </varlistentry>
+
+ <varlistentry id="sql-altertable-replica-identity-full">
+ <term><literal>FULL</literal></term>
+ <listitem>
+ <para>
+ Records the old values of all columns in the row.
+ </para>
+ </listitem>
+ </varlistentry>
+
+ <varlistentry id="sql-altertable-replica-identity-nothing">
+ <term><literal>NOTHING</literal></term>
+ <listitem>
+ <para>
+ Records no information about the old row. This is the default for
+ system tables.
+ </para>
+ </listitem>
+ </varlistentry>
+ </variablelist>
+ </para>
</listitem>
</varlistentry>
--
2.39.5 (Apple Git-154)