Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1ZICds-0007Ct-8C for pgsql-hackers@arkaria.postgresql.org; Thu, 23 Jul 2015 09:18:16 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.84) (envelope-from ) id 1ZICdr-0004ff-ML for pgsql-hackers@arkaria.postgresql.org; Thu, 23 Jul 2015 09:18:15 +0000 Received: from makus.postgresql.org ([2001:4800:1501:1::229]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.84) (envelope-from ) id 1ZICdp-0004ej-1K for pgsql-hackers@postgresql.org; Thu, 23 Jul 2015 09:18:13 +0000 Received: from hook.sigaev.ru ([93.180.27.50]) by makus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.84) (envelope-from ) id 1ZICdh-0005fq-53 for pgsql-hackers@postgresql.org; Thu, 23 Jul 2015 09:18:11 +0000 Received: from xor.sai.msu.ru (unknown [185.12.152.254]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) (Authenticated sender: teodor) by hook.sigaev.ru (Postfix) with ESMTPSA id F05D2B191C3; Thu, 23 Jul 2015 12:18:01 +0300 (MSK) Message-ID: <55B0B149.1010903@sigaev.ru> Date: Thu, 23 Jul 2015 12:18:01 +0300 From: Teodor Sigaev User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:36.0) Gecko/20100101 Firefox/36.0 SeaMonkey/2.33.1 MIME-Version: 1.0 To: hlinnaka@iki.fi, Paul Ramsey CC: Pgsql Hackers Subject: Re: compress method for spgist - 2 References: <54907069.1030506@sigaev.ru> <54993A76.7050308@vmware.com> <54DE237E.4000207@sigaev.ru> <54EDD887.8030703@vmware.com> <55B09964.80707@iki.fi> In-Reply-To: <55B09964.80707@iki.fi> Content-Type: text/plain; charset=KOI8-R; format=flowed Content-Transfer-Encoding: 7bit X-Pg-Spam-Score: -3.1 (---) List-Archive: List-Help: List-ID: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: X-Mailing-List: pgsql-hackers Precedence: bulk Sender: pgsql-hackers-owner@postgresql.org >> Poorly, by hanging boxes that straddled dividing lines off the parent >> node in a big linear list. The hope would be that the case was > Ok, I see, but that's not really what I was wondering. My question is this: > SP-GiST partitions the space into non-overlapping sections. How can you store > polygons - which can overlap - in an SP-GiST index? And how does the compress > method help with that? I believe if we found a way to index boxes then we will need a compress method to build index over polygons. BTW, we are working on investigation a index structure for box where 2d-box is treated as 4d-point. -- Teodor Sigaev E-mail: teodor@sigaev.ru WWW: http://www.sigaev.ru/ -- Sent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-hackers