Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1hBoPL-0006Wi-TO for pgsql-docs@arkaria.postgresql.org; Wed, 03 Apr 2019 22:31:00 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.89) (envelope-from ) id 1hBoPK-0006Kt-Fw for pgsql-docs@arkaria.postgresql.org; Wed, 03 Apr 2019 22:30:58 +0000 Received: from makus.postgresql.org ([2001:4800:3e1:1::229]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1hBoPK-0006Km-5m for pgsql-docs@lists.postgresql.org; Wed, 03 Apr 2019 22:30:58 +0000 Received: from sss.pgh.pa.us ([66.207.139.130]) by makus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1hBoPH-0005LZ-M3; Wed, 03 Apr 2019 22:30:57 +0000 Received: from sss1.sss.pgh.pa.us (localhost [127.0.0.1]) by sss.pgh.pa.us (8.14.4/8.14.4) with ESMTP id x33MUqQW012859; Wed, 3 Apr 2019 18:30:52 -0400 From: Tom Lane To: "Jonathan S. Katz" cc: droptablestar@gmail.com, pgsql-docs@lists.postgresql.org Subject: Re: Clarity in partial index example. In-reply-to: References: <155432280882.722.12392985690846288230@wrigleys.postgresql.org> Comments: In-reply-to "Jonathan S. Katz" message dated "Wed, 03 Apr 2019 18:00:18 -0400" MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-ID: <12857.1554330652.1@sss.pgh.pa.us> Content-Transfer-Encoding: quoted-printable Date: Wed, 03 Apr 2019 18:30:52 -0400 Message-ID: <12858.1554330652@sss.pgh.pa.us> List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk "Jonathan S. Katz" writes: > On 4/3/19 4:20 PM, PG Doc comments form wrote: >> Maybe I am misunderstanding the concept here but url =3D '/index.html' = doesn't >> have any effect on this? If that's the case I would suggest either remo= ving >> it from the first query or adding it to the second query. > You're correct, the url =3D '/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