Received: from localhost (unknown [200.46.208.211]) by mail.postgresql.org (Postfix) with ESMTP id 74C486335BF for ; Fri, 27 Nov 2009 12:47:36 -0400 (AST) Received: from mail.postgresql.org ([200.46.204.86]) by localhost (mx1.hub.org [200.46.208.211]) (amavisd-maia, port 10024) with ESMTP id 57993-03 for ; Fri, 27 Nov 2009 16:47:16 +0000 (UTC) X-Greylist: from auto-whitelisted by SQLgrey-1.7.6 Received: from sss.pgh.pa.us (sss.pgh.pa.us [66.207.139.130]) by mail.postgresql.org (Postfix) with ESMTP id 9C15C632A20 for ; Fri, 27 Nov 2009 12:47:25 -0400 (AST) Received: from sss2.sss.pgh.pa.us (tgl@localhost [127.0.0.1]) by sss.pgh.pa.us (8.14.2/8.14.2) with ESMTP id nARGlOCx000270; Fri, 27 Nov 2009 11:47:24 -0500 (EST) To: Teodor Sigaev cc: Pgsql Hackers Subject: Re: KNNGiST for knn-search (WIP) In-reply-to: <4B0FFDAE.4090201@sigaev.ru> References: <4B0AC9E1.5050509@sigaev.ru> <4B0EAE0D.606@sigaev.ru> <4B0FEF06.5050703@sigaev.ru> <27610.1259336294@sss.pgh.pa.us> <4B0FFDAE.4090201@sigaev.ru> Comments: In-reply-to Teodor Sigaev message dated "Fri, 27 Nov 2009 19:26:22 +0300" Date: Fri, 27 Nov 2009 11:47:24 -0500 Message-ID: <269.1259340444@sss.pgh.pa.us> From: Tom Lane X-Virus-Scanned: Maia Mailguard 1.0.1 X-Spam-Status: No, hits=-1.244 tagged_above=-10 required=5 tests=AWL=-1.245, BAYES_50=0.001 X-Spam-Level: X-Archive-Number: 200911/1840 X-Sequence-Number: 150539 Teodor Sigaev writes: > Do you suggest to construct that clauses from pathkey representation? And append > constructed clauses to indexquals in create_indexscan_plan? I'd probably have to read the patch to make any intelligent suggestions ... and right now I'm busy with patches that are already in the commitfest. But usually it's a good idea to postpone work to createplan time if you can. regards, tom lane