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

From: Andrew Borodin <borodin(at)octonica(dot)com>
To: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
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:07:55
Message-ID: CAJEAwVHpTjLCn7xAQ_F4MyB5qFT=eJwzKi83rY12+cfr1k6iNg@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

Hello!

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.

>
> Discussion: <CAJEAwVGQjGGOj6mMSgMwGvtFd5Kwe6VFAxY=uEPZWMDjzbn4VQ(at)mail(dot)gmail(dot)com>
>
> Details
> -------
> http://git.postgresql.org/pg/commitdiff/b1328d78f88cdf4f7504004159e530b776f0de16
>
> Modified Files
> --------------
> src/backend/access/brin/brin_pageops.c | 6 +-
> src/backend/access/brin/brin_xlog.c | 9 +--
> src/backend/access/gist/gist.c | 30 +++++--
> src/backend/access/gist/gistxlog.c | 29 ++++++-
> src/backend/storage/page/bufpage.c | 142 ++++++++++++++++++++++++++++-----
> src/include/storage/bufpage.h | 3 +-
> 6 files changed, 179 insertions(+), 40 deletions(-)
>

This commit changes shape of WAL records of GiST and BRIN, but does
not bump XLOG_PAGE_MAGIC. Is it for a reason?

Best regards, Andrey Borodin.

In response to

Responses

Browse pgsql-committers by date

  From Date Subject
Next Message Tom Lane 2016-09-22 18:11:52 Re: pgsql: Invent PageIndexTupleOverwrite, and teach BRIN and GiST to use i
Previous Message Tom Lane 2016-09-22 15:35:16 pgsql: Be sure to rewind the tuplestore read pointer in non-leader CTES