Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bn8iS-0006Tl-2i for pgsql-committers@arkaria.postgresql.org; Thu, 22 Sep 2016 18:27:24 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.84_2) (envelope-from ) id 1bn8iR-0002f2-Fe for pgsql-committers@arkaria.postgresql.org; Thu, 22 Sep 2016 18:27:23 +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_2) (envelope-from ) id 1bn8iE-0002OZ-Gv for pgsql-committers@postgresql.org; Thu, 22 Sep 2016 18:27:10 +0000 Received: from mail-io0-x229.google.com ([2607:f8b0:4001:c06::229]) by makus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.84_2) (envelope-from ) id 1bn8i7-0007qU-Pc for pgsql-committers@postgresql.org; Thu, 22 Sep 2016 18:27:09 +0000 Received: by mail-io0-x229.google.com with SMTP id e66so4982094iod.1 for ; Thu, 22 Sep 2016 11:27:03 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=octonica-com.20150623.gappssmtp.com; s=20150623; h=mime-version:reply-to:in-reply-to:references:from:date:message-id :subject:to:cc; bh=2qDZcRR0EqwNBchC7G7WtBkuoooyJCokq8HYjcQOEHw=; b=fLE/oqmY3ofaNSe0yrSPNpVu3qtPny4QJORnAr++pbh/NQ7uuJPubdVWbMaQJ505pj M547n3KRSQPhGFO+vdkI3y/7v7dzjpX2MYEhtuUimUBNj6JIlcpURN1DAvqGHk78ktzA rMVk4ta1NKwQ8FClYG4JHd3gbRLZAO6C8twnm2xiBUShSmvdxCoj2sDLexxXPETgxqih Khwvg4afwSaOjnvaedCclEjggU+MloCFvP9uMfeMbIDc004cSbrXx8IdijMvVz/o/RRP eDHSEDemJ8NFJJjWT+m8o/3X+fuXml5VUj4CH2zKQ9AUaPn6aaRigDMwpQuLdedqY7tQ cIIw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:reply-to:in-reply-to:references :from:date:message-id:subject:to:cc; bh=2qDZcRR0EqwNBchC7G7WtBkuoooyJCokq8HYjcQOEHw=; b=X/T+YplIj0lqnRULhO9ZHRw5Ghnx26k+M5+6iH70eHOiCBebyB8CVZxwtTXRS3k3Rp t8IBKDOt7rj2F56BES8VTayZJeNdVgfwvAc50nPEZN+d04RUI41hMQQ3Ym/tpz04aeke 6/jh95gFuRz3Xh0tCRw6ew903xQc7dA9KxxYvRvRdm+v64jdUNfmcbnRk0KsqPR1h0+Z VMgJ/lrdep4dqF6PzUI/bH3qD5ICn0nQv/9Vv3igDk1uNVe48ApELAegWbZpUzKlVLUZ OquaS16AHM7yzlIlE99NKl/UvoxDJRlh7PaH07TTMYc5CAB+tz1bJi+W71VYVNUneaD1 eqtQ== X-Gm-Message-State: AA6/9RmstWgEw54Vwz7wbOCEM8N8+vW/IH/whMxuHo8qnt1TCGhhgunMr1Gi9UCNk9EnA42YueJpSeyFv8Q2UQ== X-Received: by 10.107.50.67 with SMTP id y64mr4841913ioy.187.1474568822309; Thu, 22 Sep 2016 11:27:02 -0700 (PDT) MIME-Version: 1.0 Received: by 10.36.49.200 with HTTP; Thu, 22 Sep 2016 11:27:01 -0700 (PDT) Reply-To: amborodin@acm.org In-Reply-To: <32526.1474567912@sss.pgh.pa.us> References: <32526.1474567912@sss.pgh.pa.us> From: Andrew Borodin Date: Thu, 22 Sep 2016 23:27:01 +0500 Message-ID: Subject: Re: pgsql: Invent PageIndexTupleOverwrite, and teach BRIN and GiST to use i To: Tom Lane Cc: pgsql-committers@postgresql.org Content-Type: text/plain; charset=UTF-8 X-Pg-Spam-Score: -2.6 (--) List-Archive: List-Help: List-ID: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: X-Mailing-List: pgsql-committers Precedence: bulk Sender: pgsql-committers-owner@postgresql.org 2016-09-22 23:11 GMT+05:00 Tom Lane : > Yeah, I explained it in part of the commit message you didn't quote: Oh.. sorry, my bad. Focused on code and missed whole thing. > Note that this patch causes a rather subtle WAL incompatibility: the > physical page content change represented by certain WAL records is now > different than it was before, because while the tuples have the same > itempointer line numbers, the tuples themselves are in different places. As for GiST, that was my initial suggestion, but tests of Anastasia Lubennikova showed that in some cases index size is reduced by 3. It's not possible to get 3 times less pages by compatible WAL replay. > I have not bumped the WAL version number because I think it doesn't matter > unless you are trying to do bitwise comparisons of original and replayed > pages, and in any case we're early in a devel cycle and there will probably > be more WAL changes before v10 gets out the door. I think that's correct assumption. Sorry for time taken. Best regards, Andrey Borodin. -- Sent via pgsql-committers mailing list (pgsql-committers@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-committers