Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1YQcin-0001dT-Jr for pgsql-hackers@arkaria.postgresql.org; Wed, 25 Feb 2015 14:13:53 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.80) (envelope-from ) id 1YQcin-00011L-3F for pgsql-hackers@arkaria.postgresql.org; Wed, 25 Feb 2015 14:13:53 +0000 Received: from makus.postgresql.org ([2001:4800:1501:1::229]) by malur.postgresql.org with esmtps (TLS1.2:DHE_RSA_AES_256_CBC_SHA256:256) (Exim 4.80) (envelope-from ) id 1YQcil-00011E-IO for pgsql-hackers@postgresql.org; Wed, 25 Feb 2015 14:13:51 +0000 Received: from smtp-outbound-1.vmware.com ([208.91.2.12]) by makus.postgresql.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.80) (envelope-from ) id 1YQcig-0001Zc-Jm for pgsql-hackers@postgresql.org; Wed, 25 Feb 2015 14:13:48 +0000 Received: from sc9-mailhost1.vmware.com (sc9-mailhost1.vmware.com [10.113.161.71]) by smtp-outbound-1.vmware.com (Postfix) with ESMTP id B6ED0282B4; Wed, 25 Feb 2015 06:13:43 -0800 (PST) Received: from EX13-CAS-010.vmware.com (EX13-CAS-010.vmware.com [10.113.191.62]) by sc9-mailhost1.vmware.com (Postfix) with ESMTP id B0E72180C5; Wed, 25 Feb 2015 06:13:43 -0800 (PST) Received: from [192.168.1.90] (10.113.160.246) by EX13-MBX-024.vmware.com (10.113.191.44) with Microsoft SMTP Server (TLS) id 15.0.913.22; Wed, 25 Feb 2015 06:13:42 -0800 Message-ID: <54EDD887.8030703@vmware.com> Date: Wed, 25 Feb 2015 16:13:27 +0200 From: Heikki Linnakangas Organization: VMware User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Icedove/31.4.0 MIME-Version: 1.0 To: Teodor Sigaev , Pgsql Hackers Subject: Re: compress method for spgist - 2 References: <54907069.1030506@sigaev.ru> <54993A76.7050308@vmware.com> <54DE237E.4000207@sigaev.ru> In-Reply-To: <54DE237E.4000207@sigaev.ru> Content-Type: text/plain; charset="koi8-r"; format=flowed Content-Transfer-Encoding: 7bit X-Originating-IP: [10.113.160.246] X-ClientProxiedBy: EX13-CAS-013.vmware.com (10.113.191.65) To EX13-MBX-024.vmware.com (10.113.191.44) X-Pg-Spam-Score: -6.9 (------) 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 On 02/13/2015 06:17 PM, Teodor Sigaev wrote: >> Now that the input data type and leaf data type can be different, which one is >> "attType"? It's the leaf data type, as the patch stands. I renamed that to >> attLeafType, and went fixing all the references to it. In most places it's just >> a matter of search & replace, but what about the reconstructed datum? In > > Done. Now there is separate attType and attLeafType which describe input/output > and leaf types. Thanks. Did you try finding a use case for this patch in one of the built-in or contrib datatypes? That would allow writing a regression test for this. In the original post on this, you mentioned that the PostGIS guys planned to use this to store polygons, as bounding boxes (http://www.postgresql.org/message-id/5447B3FF.2080406@sigaev.ru). Any idea how would that work? - Heikki -- Sent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-hackers