Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bn8Tj-0005sG-4R for pgsql-committers@arkaria.postgresql.org; Thu, 22 Sep 2016 18:12:11 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.84_2) (envelope-from ) id 1bn8Ti-0001If-Nn for pgsql-committers@arkaria.postgresql.org; Thu, 22 Sep 2016 18:12:10 +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 1bn8Th-0001I9-NK for pgsql-committers@postgresql.org; Thu, 22 Sep 2016 18:12:09 +0000 Received: from sss.pgh.pa.us ([66.207.139.130]) by makus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1bn8Tf-0007aH-3g for pgsql-committers@postgresql.org; Thu, 22 Sep 2016 18:12:08 +0000 Received: from sss1.sss.pgh.pa.us (localhost [127.0.0.1]) by sss.pgh.pa.us (8.14.4/8.14.4) with ESMTP id u8MIBqeP032527; Thu, 22 Sep 2016 14:11:52 -0400 From: Tom Lane To: amborodin@acm.org, Andrew Borodin cc: pgsql-committers@postgresql.org Subject: Re: pgsql: Invent PageIndexTupleOverwrite, and teach BRIN and GiST to use i In-reply-to: References: Comments: In-reply-to Andrew Borodin message dated "Thu, 22 Sep 2016 23:07:55 +0500" Date: Thu, 22 Sep 2016 14:11:52 -0400 Message-ID: <32526.1474567912@sss.pgh.pa.us> X-Pg-Spam-Score: -5.0 (-----) 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 Andrew Borodin writes: > 2016-09-10 3:02 GMT+05:00 Tom Lane : >> Invent PageIndexTupleOverwrite, and teach BRIN and GiST to use it. > This commit changes shape of WAL records of GiST and BRIN, but does > not bump XLOG_PAGE_MAGIC. Is it for a reason? Yeah, I explained it in part of the commit message you didn't quote: 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. 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. regards, tom lane -- Sent via pgsql-committers mailing list (pgsql-committers@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-committers