Re: psql show URL with help

Поиск
Список
Период
Сортировка
От Magnus Hagander
Тема Re: psql show URL with help
Дата
Msg-id CABUevEyc98E-Jxq-S5jEttiwrdxkAZbpUNsoEt5=DwgVqauY5g@mail.gmail.com
обсуждение исходный текст
Ответ на Re: psql show URL with help  (David Fetter <david@fetter.org>)
Ответы Re: psql show URL with help
Список pgsql-hackers


On Sun, Mar 3, 2019 at 7:14 PM David Fetter <david@fetter.org> wrote:
On Wed, Feb 27, 2019 at 09:14:59AM +0100, Peter Eisentraut wrote:
> +                                     url = psprintf("https://www.postgresql.org/docs/%s/%s.html",
> +                                                                strstr(PG_VERSION, "devel") ? "devel" : PG_MAJORVERSION,
> +                                                                QL_HELP[i].docbook_id);

Do we need to make sure that the docs are published under the major
version as soon as we get to alpha, or do we need something more like
this?

    url = psprintf("https://www.postgresql.org/docs/%s/%s.html",
            (strstr(PG_VERSION, "devel") || strstr(PG_VERSION, "beta") ||
             strstr(PG_VERSION, "alpha")) : "devel" : PG_MAJORVERSION,
            QL_HELP[i].docbook_id);

We don't really release alphas any more. And we do load the documentation alongside the betas. (Last time we did an alpha was so long ago I don't remember if we loaded docs) 

--

В списке pgsql-hackers по дате отправления:

Предыдущее
От: Ramanarayana
Дата:
Сообщение: Re: psql show URL with help
Следующее
От: Thomas Munro
Дата:
Сообщение: Re: [HACKERS] SERIALIZABLE with parallel query