Received: from maia.hub.org (maia-3.hub.org [200.46.204.243]) by mail.postgresql.org (Postfix) with ESMTP id A0AE31337B4A for ; Fri, 12 Nov 2010 14:15:00 -0400 (AST) Received: from mail.postgresql.org ([200.46.204.86]) by maia.hub.org (mx1.hub.org [200.46.204.243]) (amavisd-maia, port 10024) with ESMTP id 63570-03 for ; Fri, 12 Nov 2010 18:14:53 +0000 (UTC) X-Greylist: from auto-whitelisted by SQLgrey-1.7.6 Received: from cdptpa-omtalb.mail.rr.com (cdptpa-omtalb.mail.rr.com [75.180.132.123]) by mail.postgresql.org (Postfix) with ESMTP id EB4B8133798E for ; Fri, 12 Nov 2010 14:14:52 -0400 (AST) X-Authority-Analysis: v=1.1 cv=Inhw+Jdt7z1D3BivGPfn2aw54OvUEJw5lAn/booRZkE= c=1 sm=0 a=pLRjeXU6OmAA:10 a=8nJEP1OIZ-IA:10 a=qCTYjJJ2g1SgQhsHZAUATw==:17 a=A_VS2J2se93fnvDOY04A:9 a=LSu3rhuGo9plLKYwJVeQosr6JZwA:4 a=wPNLvfGTeEIA:10 a=qCTYjJJ2g1SgQhsHZAUATw==:117 X-Cloudmark-Score: 0 X-Originating-IP: 98.27.48.207 Received: from [98.27.48.207] ([98.27.48.207:33208] helo=[192.168.10.104]) by cdptpa-oedge04.mail.rr.com (envelope-from ) (ecelerity 2.2.3.46 r()) with ESMTP id 6E/73-13137-B148DDC4; Fri, 12 Nov 2010 18:14:52 +0000 Message-ID: <4CDD841B.5090202@dunslane.net> Date: Fri, 12 Nov 2010 13:14:51 -0500 From: Andrew Dunstan User-Agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.2.9) Gecko/20100907 Fedora/3.1.3-1.fc13 Lightning/1.0b3pre Thunderbird/3.1.3 MIME-Version: 1.0 To: Bruce Momjian CC: Josh Berkus , Robert Haas , Tom Lane , postgres hackers , Oleg Bartunov Subject: Re: GIN vs. Partial Indexes References: <201011121811.oACIB6Q15546@momjian.us> In-Reply-To: <201011121811.oACIB6Q15546@momjian.us> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Scanned: Maia Mailguard 1.0.1 X-Spam-Status: No, hits=-1.9 tagged_above=-5 required=5 tests=BAYES_00=-1.9, RCVD_IN_DNSWL_NONE=-0.0001 X-Spam-Level: X-Archive-Number: 201011/658 X-Sequence-Number: 173801 On 11/12/2010 01:11 PM, Bruce Momjian wrote: > Josh Berkus wrote: >> On 10/08/2010 02:44 PM, Robert Haas wrote: >>>> In any case, I would expect that GIN could actually do this quite >>>> efficiently. What we'd probably want is a concept of a "null word", >>>> with empty indexable rows entered in the index as if they contained the >>>> null word. So there'd be just one index entry with a posting list of >>>> however many such rows there are. >> So, given the lack of objections to this idea, do we have a plan for >> fixing GIN? > Is this a TODO? Yes. cheers andrew