On Fri, Mar 25, 2022 at 11:03:47AM +0800, Julien Rouhaud wrote: > I'm happy with all the changes, except: > > + if (P_ISLEAF(opaque) && opaque->btpo_level != 0) > + ereport(ERROR, > + > (errcode(ERRCODE_INVALID_PARAMETER_VALUE), > + errmsg("block is not a valid leaf > page"))); > > All other messages specify which kind of page it's about, so I think it would > be better to specify "btree" leaf page here, especially since some other AMs > also have leaf pages.
Makes sense. Fine by me to stick an extra "btree" here. -- Michael
signature.asc
Description: PGP signature