Re: pgsql: Invent PageIndexTupleOverwrite, and teach BRIN and GiST to use i

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: amborodin(at)acm(dot)org, Andrew Borodin <borodin(at)octonica(dot)com>
Cc: pgsql-committers(at)postgresql(dot)org
Subject: Re: pgsql: Invent PageIndexTupleOverwrite, and teach BRIN and GiST to use i
Date: 2016-09-22 18:11:52
Message-ID: 32526.1474567912@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

Andrew Borodin <borodin(at)octonica(dot)com> writes:
> 2016-09-10 3:02 GMT+05:00 Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>:
>> 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

In response to

Responses

Browse pgsql-committers by date

  From Date Subject
Next Message Andrew Borodin 2016-09-22 18:27:01 Re: pgsql: Invent PageIndexTupleOverwrite, and teach BRIN and GiST to use i
Previous Message Andrew Borodin 2016-09-22 18:07:55 Re: pgsql: Invent PageIndexTupleOverwrite, and teach BRIN and GiST to use i