Re: Setting pd_lower in GIN metapage
Amit Langote <langote_amit_f8@lab.ntt.co.jp>
From: Amit Langote <Langote_Amit_f8@lab.ntt.co.jp>
To: Michael Paquier <michael.paquier@gmail.com>,
Masahiko Sawada <sawada.mshk@gmail.com>
Cc: Amit Kapila <amit.kapila16@gmail.com>, Tom Lane <tgl@sss.pgh.pa.us>,
Pg Hackers <pgsql-hackers@postgresql.org>
Date: 2017-06-27T07:56:32Z
Lists: pgsql-hackers
Attachments
- 0001-Set-pd_lower-correctly-in-the-GIN-metapage_v2.patch (text/plain) patch v2-0001
- 0002-Set-pd_lower-correctly-in-the-BRIN-index-metapage_v2.patch (text/plain) patch v2-0002
- 0003-Set-pd_lower-correctly-in-the-SP-GiST-index-metapage_v2.patch (text/plain) patch v2-0003
On 2017/06/27 10:22, Michael Paquier wrote: > On Mon, Jun 26, 2017 at 4:11 PM, Masahiko Sawada <sawada.mshk@gmail.com> wrote: >> Thank you for the patches! I checked additional patches for brin and >> spgist. They look good to me. > > Last versions are still missing something: brin_mask() and spg_mask() > can be updated so as mask_unused_space() is called for meta pages. > Except that the patches look to be on the right track. Thanks for the review. I updated brin_mask() and spg_mask() in the attached updated patches so that they consider meta pages as containing unused space. > By the way, as this is an optimization and not an actual bug, could > you add this patch to the next commit fest? I don't think that this > should get into 10. The focus is to stabilize things lately. Sure, done. Thanks, Amit
Commits
-
Flag index metapages as standard-format in xlog.c calls.
- 4c11d2c559e7 11.0 landed
-
Set the metapage's pd_lower correctly in brin, gin, and spgist indexes.
- 81e334ce4e6d 11.0 landed