commit_baseurl is broken in postgres.sgml

Started by Chao Li6 months ago3 messageshackers
Jump to latest
#1Chao Li
li.evan.chao@gmail.com

Hi Hacker,

I just noticed $SUBJECT:

In doc/src/sgml/postgres.sgml, line 12:
```
<!ENTITY commit_baseurl "https://postgr.es/c/&quot;&gt;
```

https://postgr.es/c/ is resolved to https://git.postgresql.org/pg/commitdiff/, but the URL now returns 404.

Looks like Bruce fixed the URL 13 months ago, but it’s broken again. I am not sure if https://git.postgresql.org/gitweb/?p=postgresql.git;a=commitdiff is the correct URL, and anyway I don’t know how to generate a short URL.

Best regards,
--
Chao Li (Evan)
HighGo Software Co., Ltd.
https://www.highgo.com/

#2Daniel Gustafsson
daniel@yesql.se
In reply to: Chao Li (#1)
Re: commit_baseurl is broken in postgres.sgml

On 13 Oct 2025, at 07:34, Chao Li <li.evan.chao@gmail.com> wrote:

Hi Hacker,

I just noticed $SUBJECT:

In doc/src/sgml/postgres.sgml, line 12:
```
<!ENTITY commit_baseurl "https://postgr.es/c/&quot;&gt;
```

https://postgr.es/c/ is resolved to https://git.postgresql.org/pg/commitdiff/, but the URL now returns 404.

Looks like Bruce fixed the URL 13 months ago, but it’s broken again. I am not sure if https://git.postgresql.org/gitweb/?p=postgresql.git;a=commitdiff is the correct URL,

The baseurl needs a commit id to work, like /messages/by-id/&lt;commit_id&gt;.
If you look at the links to commits in the release notes you will see it
working.

and anyway I don’t know how to generate a short URL.

For commits, /messages/by-id/&lt;commit_id&gt; and for emails on any archived
list it's /messages/by-id/&lt;message_id&gt;.

--
Daniel Gustafsson

#3Chao Li
li.evan.chao@gmail.com
In reply to: Daniel Gustafsson (#2)
Re: commit_baseurl is broken in postgres.sgml

On Oct 13, 2025, at 15:18, Daniel Gustafsson <daniel@yesql.se> wrote:

On 13 Oct 2025, at 07:34, Chao Li <li.evan.chao@gmail.com> wrote:

Hi Hacker,

I just noticed $SUBJECT:

In doc/src/sgml/postgres.sgml, line 12:
```
<!ENTITY commit_baseurl "https://postgr.es/c/&quot;&gt;
```

https://postgr.es/c/ is resolved to https://git.postgresql.org/pg/commitdiff/, but the URL now returns 404.

Looks like Bruce fixed the URL 13 months ago, but it’s broken again. I am not sure if https://git.postgresql.org/gitweb/?p=postgresql.git;a=commitdiff is the correct URL,

The baseurl needs a commit id to work, like /messages/by-id/&lt;commit_id&gt; </messages/by-id/%3Ccommit_id%3E&gt;.
If you look at the links to commits in the release notes you will see it
working.

and anyway I don’t know how to generate a short URL.

For commits, /messages/by-id/&lt;commit_id&gt; </messages/by-id/%3Ccommit_id%3E&gt; and for emails on any archived
list it's /messages/by-id/&lt;message_id&gt; </messages/by-id/%3Cmessage_id%3E&gt;.

Ah… I see. Thanks you very much for the explanation.

Best regards,
--
Chao Li (Evan)
HighGo Software Co., Ltd.
https://www.highgo.com/