Re: Fix incorrect UUID index entry in function documentation

2025-06-23 Thread Fujii Masao




On 2025/06/21 9:55, Masahiko Sawada wrote:

On Fri, Jun 20, 2025 at 11:33 PM Fujii Masao
 wrote:


Hi,

Both the UUID data type and UUID functions pages define an index entry
for "UUID" that points to the data type section. As a result, the index
includes two identical entries linking to the UUID type docs,
which seems strange.

I believe the UUID functions page should instead define its own index
entry that links to itself. Currently, the indexterm is written as:


   
UUID Functions


 UUID
 generating



I suspect that "datatype-uuid" is a copy-paste error and should be
"functions-uuid" to reflect the correct section. The attached patch
updates this accordingly.

Thoughts?


+1. I think it also makes sense that "UUID generating" has the link to
"UUID Functions".


Yes, and the proposed change ensures that as well.

So barring any objections, I will commit the patch.

Regards,

--
Fujii Masao
NTT DATA Japan Corporation





Re: Fix incorrect UUID index entry in function documentation

2025-06-23 Thread Daniel Gustafsson
> On 23 Jun 2025, at 16:40, Fujii Masao  wrote:

> So barring any objections, I will commit the patch.

+1, LGTM.  There is one more occurrence though, the relnotes seem to need the
same treatment as they talk about UUID functions and not the UUID datatype:

diff --git a/doc/src/sgml/release-18.sgml b/doc/src/sgml/release-18.sgml
index 662c7d8890f..fba01d3ca44 100644
--- a/doc/src/sgml/release-18.sgml
+++ b/doc/src/sgml/release-18.sgml
@@ -2498,7 +2498,7 @@ Author: Masahiko Sawada 

  
  
- Add UUID
+ Add UUID
  version 7 generation function uuidv7()
  (Andrey Borodin)
 
--
Daniel Gustafsson





Re: Fix incorrect UUID index entry in function documentation

2025-06-23 Thread Fujii Masao




On 2025/06/24 0:46, Fujii Masao wrote:



On 2025/06/23 23:52, Daniel Gustafsson wrote:

On 23 Jun 2025, at 16:40, Fujii Masao  wrote:



So barring any objections, I will commit the patch.


+1, LGTM.


Thanks for the review!


 There is one more occurrence though, the relnotes seem to need the
same treatment as they talk about UUID functions and not the UUID datatype:

diff --git a/doc/src/sgml/release-18.sgml b/doc/src/sgml/release-18.sgml
index 662c7d8890f..fba01d3ca44 100644
--- a/doc/src/sgml/release-18.sgml
+++ b/doc/src/sgml/release-18.sgml
@@ -2498,7 +2498,7 @@ Author: Masahiko Sawada 

   
   
- Add UUID
+ Add UUID
   version 7 generation function uuidv7()
   (Andrey Borodin)


That "UUID" here seems to refer to the general concept, so I don't think
it needs to link specifically to the UUID functions page. Since the UUID
data type page already provides a basic explanation, it makes sense for
the link to point there. Also, since "uuidv7()" and "uuidv4()" there
already link to the UUID functions page, that seems sufficient to me.
Thought?


I've committed the proposed patch first. If we later agree to change
this part as well, we can commit that separately.

Regards,

--
Fujii Masao
NTT DATA Japan Corporation





"NewbieDoc Docbook Guide" link broken

2025-06-23 Thread jian he
hi.

in https://www.postgresql.org/docs/current/docguide-docbook.html
the link (https://newbiedoc.sourceforge.net/metadoc/docbook-guide.html)
for (NewbieDoc Docbook Guide) is broken.

google around I found this [2]
[2]: 
https://ftp.sun.ac.za/ftp/pub/documentation/newbiedoc/newbiedoc-html/docbook-guide.en/index-docbook-guide.html




Re: Fix incorrect UUID index entry in function documentation

2025-06-23 Thread Fujii Masao




On 2025/06/23 23:52, Daniel Gustafsson wrote:

On 23 Jun 2025, at 16:40, Fujii Masao  wrote:



So barring any objections, I will commit the patch.


+1, LGTM.


Thanks for the review!


 There is one more occurrence though, the relnotes seem to need the
same treatment as they talk about UUID functions and not the UUID datatype:

diff --git a/doc/src/sgml/release-18.sgml b/doc/src/sgml/release-18.sgml
index 662c7d8890f..fba01d3ca44 100644
--- a/doc/src/sgml/release-18.sgml
+++ b/doc/src/sgml/release-18.sgml
@@ -2498,7 +2498,7 @@ Author: Masahiko Sawada 

   
   
- Add UUID
+ Add UUID
   version 7 generation function uuidv7()
   (Andrey Borodin)


That "UUID" here seems to refer to the general concept, so I don't think
it needs to link specifically to the UUID functions page. Since the UUID
data type page already provides a basic explanation, it makes sense for
the link to point there. Also, since "uuidv7()" and "uuidv4()" there
already link to the UUID functions page, that seems sufficient to me.
Thought?

Regards,

--
Fujii Masao
NTT DATA Japan Corporation