Обсуждение: commit_baseurl is broken in postgres.sgml

Поиск
Список
Период
Сортировка

commit_baseurl is broken in postgres.sgml

От
Chao Li
Дата:
Hi Hacker,

I just noticed $SUBJECT:

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

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/




Re: commit_baseurl is broken in postgres.sgml

От
Daniel Gustafsson
Дата:
> 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/">
> ```
>
> 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=commitdiffis the correct URL, 

The baseurl needs a commit id to work, like https://postgr.es/m/<commit_id>.
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, https://postgr.es/m/<commit_id> and for emails on any archived
list it's https://postgr.es/m/<message_id>.

--
Daniel Gustafsson




Re: commit_baseurl is broken in postgres.sgml

От
Chao Li
Дата:


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/">
```

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 https://postgr.es/m/<commit_id>.
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, https://postgr.es/m/<commit_id> and for emails on any archived
list it's https://postgr.es/m/<message_id>.


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

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