pg.ddx.io pgsql-hackers@postgresql.org mailing list archive
help / color / mirror / Atom feedRe: [PATCH] Missing links between system catalog documentation pages
2+ messages / 2 participants
[nested] [flat]
* Re: [PATCH] Missing links between system catalog documentation pages
@ 2020-09-03 11:38 Peter Eisentraut <peter.eisentraut@2ndquadrant.com>
0 siblings, 1 reply; 2+ messages in thread
From: Peter Eisentraut @ 2020-09-03 11:38 UTC (permalink / raw)
To: Dagfinn Ilmari Mannsåker <ilmari@ilmari.org>; Alvaro Herrera <alvherre@2ndquadrant.com>; +Cc: Tom Lane <tgl@sss.pgh.pa.us>; Fabien COELHO <coelho@cri.ensmp.fr>; PostgreSQL Hackers <pgsql-hackers@lists.postgresql.org>
On 2020-06-21 19:49, Dagfinn Ilmari Mannsåker wrote:
> There were only three cases of multiple mentions of the same table in a
> single paragraph, I've removed them in the attached patch.
>
> I've also added a second patch that makes the SQL commands links. There
> were some cases of the same commands being mentioned in the descriptions
> of multiple columns in the same table, but I've left those in place,
> since that feels less disruptive than in prose.
Committed after some rebasing and tweaking.
--
Peter Eisentraut http://www.2ndQuadrant.com/
PostgreSQL Development, 24x7 Support, Remote DBA, Training & Services
^ permalink raw reply [nested|flat] 2+ messages in thread
* Re: [PATCH] Missing links between system catalog documentation pages
@ 2020-09-03 15:40 Dagfinn Ilmari Mannsåker <ilmari@ilmari.org>
parent: Peter Eisentraut <peter.eisentraut@2ndquadrant.com>
0 siblings, 0 replies; 2+ messages in thread
From: ilmari@ilmari.org @ 2020-09-03 15:40 UTC (permalink / raw)
To: Peter Eisentraut <peter.eisentraut@2ndquadrant.com>; +Cc: Alvaro Herrera <alvherre@2ndquadrant.com>; Tom Lane <tgl@sss.pgh.pa.us>; Fabien COELHO <coelho@cri.ensmp.fr>; PostgreSQL Hackers <pgsql-hackers@lists.postgresql.org>
Hi Peter,
Peter Eisentraut <peter.eisentraut@2ndquadrant.com> writes:
> On 2020-06-21 19:49, Dagfinn Ilmari Mannsåker wrote:
>> There were only three cases of multiple mentions of the same table in a
>> single paragraph, I've removed them in the attached patch.
>>
>> I've also added a second patch that makes the SQL commands links. There
>> were some cases of the same commands being mentioned in the descriptions
>> of multiple columns in the same table, but I've left those in place,
>> since that feels less disruptive than in prose.
>
> Committed after some rebasing and tweaking.
Thanks!
I just noticed that both this and the command link patch modified the
same sentence about CREATE DATABASE and pg_database, so those changes
seem to have been lost in the merge. Attached is a follow-up patch that
adds them both.
- ilmari
--
"The surreality of the universe tends towards a maximum" -- Skud's Law
"Never formulate a law or axiom that you're not prepared to live with
the consequences of." -- Skud's Meta-Law
Attachments:
0001-Add-two-more-missing-command-and-catalog-cross-links.patch (text/x-diff, 1.9K) download
From d043e64c925a21d42bfd28e6c4ca2e44e4b4d356 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Dagfinn=20Ilmari=20Manns=C3=A5ker?= <ilmari@ilmari.org>
Date: Sun, 24 May 2020 21:48:29 +0100
Subject: [PATCH] Add two more missing command and catalog cross-links
The two earlier doc patches both modified this paragraph, so these two
changes appear to have been lost while resolving the conflict.
---
doc/src/sgml/catalogs.sgml | 15 ++++++++-------
1 file changed, 8 insertions(+), 7 deletions(-)
diff --git a/doc/src/sgml/catalogs.sgml b/doc/src/sgml/catalogs.sgml
index 508bea3bc6..6f2e0d19dc 100644
--- a/doc/src/sgml/catalogs.sgml
+++ b/doc/src/sgml/catalogs.sgml
@@ -14,13 +14,14 @@
tables. You can drop and recreate the tables, add columns, insert
and update values, and severely mess up your system that way.
Normally, one should not change the system catalogs by hand, there
- are normally SQL commands to do that. (For example, <command>CREATE
- DATABASE</command> inserts a row into the
- <structname>pg_database</structname> catalog — and actually
- creates the database on disk.) There are some exceptions for
- particularly esoteric operations, but many of those have been made
- available as SQL commands over time, and so the need for direct manipulation
- of the system catalogs is ever decreasing.
+ are normally SQL commands to do that. (For example, <xref
+ linkend="sql-createdatabase"/> inserts a row into the <link
+ linkend="catalog-pg-database"><structname>pg_database</structname></link>
+ catalog — and actually creates the database on disk.) There
+ are some exceptions for particularly esoteric operations, but many
+ of those have been made available as SQL commands over time, and so
+ the need for direct manipulation of the system catalogs is ever
+ decreasing.
</para>
<sect1 id="catalogs-overview">
--
2.27.0
^ permalink raw reply [nested|flat] 2+ messages in thread
end of thread, other threads:[~2020-09-03 15:40 UTC | newest]
Thread overview: 2+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2020-09-03 11:38 Re: [PATCH] Missing links between system catalog documentation pages Peter Eisentraut <peter.eisentraut@2ndquadrant.com>
2020-09-03 15:40 ` Dagfinn Ilmari Mannsåker <ilmari@ilmari.org>
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox