Received: from maia.hub.org (maia-2.hub.org [200.46.204.251]) by mail.postgresql.org (Postfix) with ESMTP id C31A4133798E for ; Fri, 12 Nov 2010 14:16:17 -0400 (AST) 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 37991-01 for ; Fri, 12 Nov 2010 18:16:10 +0000 (UTC) X-Greylist: from auto-whitelisted by SQLgrey-1.7.6 Received: from momjian.us (momjian.us [70.90.9.53]) by mail.postgresql.org (Postfix) with ESMTP id 77B1C1336971 for ; Fri, 12 Nov 2010 14:16:10 -0400 (AST) Received: (from bruce@localhost) by momjian.us (8.11.6/8.11.6) id oACIG2a17174; Fri, 12 Nov 2010 13:16:02 -0500 (EST) From: Bruce Momjian Message-Id: <201011121816.oACIG2a17174@momjian.us> Subject: Re: GIN vs. Partial Indexes In-Reply-To: <4CDD841B.5090202@dunslane.net> To: Andrew Dunstan Date: Fri, 12 Nov 2010 13:16:02 -0500 (EST) CC: Josh Berkus , Robert Haas , Tom Lane , postgres hackers , Oleg Bartunov X-Mailer: ELM [version 2.4ME+ PL124 (25)] MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset="US-ASCII" X-Virus-Scanned: Maia Mailguard 1.0.1 X-Spam-Status: No, hits=-1.91 tagged_above=-5 required=5 tests=BAYES_00=-1.9, T_RP_MATCHES_RCVD=-0.01 X-Spam-Level: X-Archive-Number: 201011/659 X-Sequence-Number: 173802 Andrew Dunstan wrote: > > > 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. OK, can you add it or give me wording, or it is already on the TODO list? -- Bruce Momjian http://momjian.us EnterpriseDB http://enterprisedb.com + It's impossible for everything to be true. +