On Thu, Sep 14, 2017 at 6:36 PM, Amit Kapila <amit.kapil...@gmail.com> wrote: > Why do we need to change metapage at every place for btree ...
I have been hunting for some time places where meta buffers were marked as dirtied and logged. So in the effort, I think that my hands and mind got hotter, forgetting that pd_lower is set there for ages. Of course feel free to ignore that. > ... or hash? > Any index that is upgraded should have pd_lower set, do you have any > case in mind where it won't be set? For hash, if someone upgrades > from a version lower than 9.6, it might not have set, but we already > give warning to reindex the hash indexes upgraded from a version lower > than 10. Ah yes. You do set pd_lower in 10 as well for hash... So that will be fine. So remains SpGist as a slacking AM based on the current patches. -- Michael -- Sent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-hackers