Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1WDaqy-0000J3-No for pgsql-bugs@arkaria.postgresql.org; Wed, 12 Feb 2014 14:31:56 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.80) (envelope-from ) id 1WDaqy-0000v8-7o for pgsql-bugs@arkaria.postgresql.org; Wed, 12 Feb 2014 14:31:56 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1WDaqx-0000v1-9i for pgsql-bugs@postgresql.org; Wed, 12 Feb 2014 14:31:55 +0000 Received: from momjian.us ([72.94.173.45]) by magus.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1WDaqu-0002E3-Le for pgsql-bugs@postgresql.org; Wed, 12 Feb 2014 14:31:54 +0000 Received: from bruce by momjian.us with local (Exim 4.72) (envelope-from ) id 1WDaqt-0003Qc-9J; Wed, 12 Feb 2014 09:31:51 -0500 Date: Wed, 12 Feb 2014 09:31:51 -0500 From: Bruce Momjian To: Alexander Hill Cc: pgsql-bugs@postgresql.org Subject: Re: BUG #8354: stripped positions can generate nonzero rank in ts_rank_cd Message-ID: <20140212143151.GA12551@momjian.us> References: <20140131212251.GQ19957@momjian.us> <20140211154537.GA2289@momjian.us> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.20 (2009-06-14) X-Pg-Spam-Score: -2.6 (--) List-Archive: List-Help: List-ID: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: X-Mailing-List: pgsql-bugs Precedence: bulk Sender: pgsql-bugs-owner@postgresql.org On Wed, Feb 12, 2014 at 09:49:32AM +0800, Alexander Hill wrote: > Hi Bruce, > > In normal use this won't affect any data that ends up in an index. > > The only exception would be where somebody has created an index over the result > of ts_rank_cd - indexing search rank for the most common search terms, maybe? OK, good. > But that's true of any function whose result is indexed. What's the upgrade > policy in that case? Well, we document that the function output changed, and if anyone is using the function for an index, they need to rebuild the index, so I think we are fine fixing this for 9.4. -- Bruce Momjian http://momjian.us EnterpriseDB http://enterprisedb.com + Everyone has their own god. + -- Sent via pgsql-bugs mailing list (pgsql-bugs@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-bugs