Re: Clarity in partial index example.

Поиск
Список
Период
Сортировка
От Jonathan S. Katz
Тема Re: Clarity in partial index example.
Дата
Msg-id 99a710f1-92e2-e5c7-52ae-a1d61cfacd30@postgresql.org
обсуждение исходный текст
Ответ на Re: Clarity in partial index example.  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-docs
On 4/3/19 6:30 PM, Tom Lane wrote:
> "Jonathan S. Katz" <jkatz@postgresql.org> writes:
>> On 4/3/19 4:20 PM, PG Doc comments form wrote:
>>> Maybe I am misunderstanding the concept here but url = '/index.html' doesn't
>>> have any effect on this? If that's the case I would suggest either removing
>>> it from the first query or adding it to the second query.
>
>> You're correct, the url = '/index.html' does not affect if the partial
>> index is used in the example.
>
>> Based on how the example is set up, I'd propose using the "url"
>> parameter in both examples. I've attached a patch that does this, with
>> some additional wording around the examples.
>
> Yeah, this seems unnecessarily confusing.  I tweaked your extra wording
> a bit --- I didn't like referring to the index as covering a range,
> because it's really excluding a range not including one.

You're right, that makes sense.

> Pushed.

Thanks!

Jonathan


Вложения

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

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: Clarity in partial index example.
Следующее
От: "Daniel Westermann (DWE)"
Дата:
Сообщение: Supported versions missing at the top of the page