pg.ddx.io  pgsql-docs@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Tom Lane <tgl@sss.pgh.pa.us>
To: Jonathan S. Katz <jkatz@postgresql.org>
Cc: droptablestar@gmail.com
Cc: pgsql-docs@lists.postgresql.org
Subject: Re: Clarity in partial index example.
Date: Wed, 03 Apr 2019 18:30:52 -0400
Message-ID: <12858.1554330652@sss.pgh.pa.us> (raw)
In-Reply-To: <fbcb4420-881c-c1b3-4ef3-02ca38e29069@postgresql.org>
References: <155432280882.722.12392985690846288230@wrigleys.postgresql.org>
	<fbcb4420-881c-c1b3-4ef3-02ca38e29069@postgresql.org>

"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.

Pushed.

			regards, tom lane





view thread (4+ messages)  latest in thread

Message-ID: <12858.1554330652@sss.pgh.pa.us>
Permalink:  ../12858.1554330652@sss.pgh.pa.us/
Also on:    postgresql.org/message-id/12858.1554330652@sss.pgh.pa.us

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: pgsql-docs@postgresql.org
  Cc: tgl@sss.pgh.pa.us, jkatz@postgresql.org, droptablestar@gmail.com, pgsql-docs@lists.postgresql.org
  Subject: Re: Clarity in partial index example.
  In-Reply-To: <12858.1554330652@sss.pgh.pa.us>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox