Re: documentation structure
Alvaro Herrera <alvherre@alvh.no-ip.org>
From: Alvaro Herrera <alvherre@alvh.no-ip.org>
To: Robert Haas <robertmhaas@gmail.com>
Cc: Tom Lane <tgl@sss.pgh.pa.us>, Andrew Dunstan <andrew@dunslane.net>, "pgsql-hackers@postgresql.org" <pgsql-hackers@postgresql.org>
Date: 2024-03-21T16:42:58Z
Lists: pgsql-hackers
Commits
Same data as JSON:
GET /api/v1/messages/:b64id/commits
the thread's linked commits as JSON, with link sources.
API reference →
-
docs: Consistently use <optional> to indicate optional parameters
- 0d829703363b 18.0 landed
-
docs: Consolidate into new "WAL for Extensions" chapter.
- 09d9800e5282 17.0 landed
-
freespace: Don't return blocks past the end of the main fork.
- 935829743151 17.0 cited
-
docs: Merge separate chapters on built-in index AMs into one.
- fe8eaa54420c 17.0 landed
-
docs: Demote "Monitoring Disk Usage" from chapter to section.
- f470b5c67924 17.0 landed
-
doc: move system views section to its own chapter
- 64d364bb39cb 16.0 cited
On 2024-Mar-21, Robert Haas wrote: > On Thu, Mar 21, 2024 at 9:38 AM Tom Lane <tgl@sss.pgh.pa.us> wrote: > > I'd follow the extend.sgml precedent: have a file corresponding to the > > chapter and containing any top-level text we need, then that includes > > a file per sect1. > > OK, here's a new patch set. I've revised 0003 and 0004 to use this > approach, Great, thanks. Looking at the index in the PDF after (only) 0003, we now have this structure 62. Table Access Method Interface Definition ....................................................... 2475 63. Index Access Method Interface Definition ....................................................... 2476 63.1. Basic API Structure for Indexes .......................................................... 2476 63.2. Index Access Method Functions .......................................................... 2479 63.3. Index Scanning ................................................................................ 2485 63.4. Index Locking Considerations ............................................................. 2486 63.5. Index Uniqueness Checks .................................................................. 2487 63.6. Index Cost Estimation Functions ......................................................... 2489 64. Generic WAL Records ................................................................................. 2492 65. Custom WAL Resource Managers ................................................................. 2494 66. Built-in Index Access Methods ...................................................................... 2496 which is a bit odd: why are the two WAL chapters in the middle of the chapters 62 and 63 talking about AMs? Maybe put 66 right after 63 instead. Also, is it really better to have 62/63 first and 66 later? It sounds to me like 66 is more user-oriented and the other two are developer-oriented, so I'm inclined to suggest putting them the other way around, but I'm not really sure about this. (Also, starting chapter 66 straight with 66.1 BTree without any intro text looks a bit odd; maybe one short introductory paragraph is sufficient?) > and I've added a new 0005 that does essentially the same > thing for the PL chapters. I was looking at the PL chapters earlier today too, wondering whether this would be valuable; but I worry that there are too many sub-sub-sections there, so it could end up being a bit messy. I didn't look at the resulting output though. > 0001 and 0002 are [un]changed. Should 0002 use the include-an-entity > approach as well? Shrug, I wouldn't, doesn't look worth it. -- Álvaro Herrera 48°01'N 7°57'E — https://www.EnterpriseDB.com/ "No es bueno caminar con un hombre muerto"