Received: from localhost (mx1.hub.org [200.46.208.251]) by postgresql.org (Postfix) with ESMTP id 013479F93A0 for ; Mon, 20 Nov 2006 12:51:12 -0400 (AST) Received: from postgresql.org ([200.46.204.71]) by localhost (mx1.hub.org [200.46.208.251]) (amavisd-new, port 10024) with ESMTP id 31452-05 for ; Mon, 20 Nov 2006 12:50:58 -0400 (AST) X-Greylist: from auto-whitelisted by SQLgrey- Received: from sss.pgh.pa.us (sss.pgh.pa.us [66.207.139.130]) by postgresql.org (Postfix) with ESMTP id 8A0319FA111 for ; Mon, 20 Nov 2006 12:50:38 -0400 (AST) Received: from sss2.sss.pgh.pa.us (tgl@localhost [127.0.0.1]) by sss.pgh.pa.us (8.13.6/8.13.6) with ESMTP id kAKGoYxP007610; Mon, 20 Nov 2006 11:50:34 -0500 (EST) To: "Rajesh Kumar Mallah" cc: pgsql-sql@postgresql.org Subject: Re: tsvector_eq appears to be inconsistent. In-reply-to: References: Comments: In-reply-to "Rajesh Kumar Mallah" message dated "Mon, 20 Nov 2006 14:39:32 +0530" Date: Mon, 20 Nov 2006 11:50:34 -0500 Message-ID: <7609.1164041434@sss.pgh.pa.us> From: Tom Lane X-Virus-Scanned: Maia Mailguard 1.0.1 X-Archive-Number: 200611/213 X-Sequence-Number: 26865 "Rajesh Kumar Mallah" writes: > I am doing equality comparisons on type tsvector using tsvector_eq. > How come a comparison that returns true before starts returning false > afterwards ? (see results of case 1 and 3) IIRC, Teodor fixed a number of tsvector comparison bugs in 8.1.5 ... try updating. (You might need to REINDEX any tsearch2 indexes afterwards, not sure.) regards, tom lane