doc: Inform about aminsertcleanup optional NULLness This index AM callback has been introduced in c1ec02be1d79 and it is optional, currently only being used by BRIN. Optional callbacks are documented with NULL as possible value in amapi.h and indexam.sgml, but this callback has missed this part of the description.
Reported-by: Peter Smith <smithpb2...@gmail.com> Reviewed-by: Japin Li <japi...@hotmail.com> Discussion: https://postgr.es/m/cahut+pvgycpmpdi1ydhmjy5upnygrpc0n8pk1xnb11xdsbw...@mail.gmail.com Backpatch-through: 17 Branch ------ REL_18_STABLE Details ------- https://git.postgresql.org/pg/commitdiff/282b10cb055e79d49c73f4652e841432321afcd9 Modified Files -------------- doc/src/sgml/indexam.sgml | 2 +- src/include/access/amapi.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-)