Re: https://www.postgresql.org/docs/release/X.X -- broken pages

From: "Jonathan S(dot) Katz" <jkatz(at)postgresql(dot)org>
To: Nikolay Samokhvalov <samokhvalov(at)gmail(dot)com>, PostgreSQL www <pgsql-www(at)postgresql(dot)org>
Subject: Re: https://www.postgresql.org/docs/release/X.X -- broken pages
Date: 2020-10-12 02:25:59
Message-ID: 65a66716-06f7-8560-ed23-5f737f543d48@postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-www

On 10/11/20 8:08 PM, Nikolay Samokhvalov wrote:
> Not sure if this page has some incoming links from somewhere, but being
> on the page 
> https://www.postgresql.org/docs/release/13.0/ I naturally replaced the
> version with 9.1 (omitting the minor part) -- and found something
> unexpected:
>
> https://www.postgresql.org/docs/release/9.1/ -- has "E.99.1. Migration
> to Version 9.0.1", which is, obviously, not what is expected.
>
> Moreover, the right sidebar has links to non-existnent versions such as
> 9.9: https://www.postgresql.org/docs/release/9.9/.

What, you don't remember PostgreSQL 9.9? People were so excited for it! ;)

> If I entered the full version, with minor part
> (https://www.postgresql.org/docs/release/9.2.0/) it would be okay, of
> course.

I seem to recall a similar thread (which I can't seem to find) about an
error, i.e. one would put in 9.1 and it would 404. Basically, we have to
deal with three difference number schemes:

- Pre-6.0
- Pre-10.0
- Post-10.0

where each of their own quirks. I think the probability of people link
hacking the release notes to the older versions is low, but even so, we
should either have, e.g. 9.1 renders the actual 9.1.0, or we should error.

I propose we do the former. Please see attached patch.

Thanks,

Jonathan

Attachment Content-Type Size
release-notes.patch text/plain 977 bytes

In response to

Responses

Browse pgsql-www by date

  From Date Subject
Next Message Jonathan S. Katz 2020-10-12 18:07:09 Re: https://www.postgresql.org/docs/release/X.X -- broken pages
Previous Message Nikolay Samokhvalov 2020-10-12 00:08:20 https://www.postgresql.org/docs/release/X.X -- broken pages