Received: from maia.hub.org (unknown [200.46.204.251]) by mail.postgresql.org (Postfix) with ESMTP id D3ED81337B8F for ; Sat, 23 Oct 2010 16:01:46 -0300 (ADT) Received: from mail.postgresql.org ([200.46.204.86]) by maia.hub.org (mx1.hub.org [200.46.204.251]) (amavisd-maia, port 10024) with ESMTP id 49314-07 for ; Sat, 23 Oct 2010 19:01:39 +0000 (UTC) X-Greylist: from auto-whitelisted by SQLgrey-1.7.6 Received: from glacier.frostconsultingllc.com (glacier.frostconsultingllc.com [69.36.227.170]) by mail.postgresql.org (Postfix) with ESMTP id D40831337B50 for ; Sat, 23 Oct 2010 16:01:38 -0300 (ADT) Received: from adsl-63-195-55-98.dsl.snfc21.pacbell.net ([63.195.55.98] helo=[192.168.47.100]) by glacier.frostconsultingllc.com with esmtpsa (TLSv1:CAMELLIA256-SHA:256) (Exim 4.69) (envelope-from ) id 1P9jLN-0001gP-Pf; Sat, 23 Oct 2010 12:01:32 -0700 Message-ID: <4CC33101.1000205@agliodbs.com> Date: Sat, 23 Oct 2010 12:01:21 -0700 From: Josh Berkus User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.1.9pre) Gecko/20100217 Shredder/3.0.3pre MIME-Version: 1.0 To: Robert Haas CC: Tom Lane , postgres hackers , Oleg Bartunov Subject: Re: GIN vs. Partial Indexes References: <4CAE6A92.4060703@agliodbs.com> <11352.1286506328@sss.pgh.pa.us> <13837.1286560056@sss.pgh.pa.us> In-Reply-To: Content-Type: text/plain; charset=UTF-8; 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 X-Spam-Level: X-Archive-Number: 201010/1691 X-Sequence-Number: 172731 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? -- -- Josh Berkus PostgreSQL Experts Inc. http://www.pgexperts.com