doc: Inform about aminsertcleanup optional NULLness

Michael Paquier <michael@paquier.xyz>

Commit: 19179dbffc8fb9ff12b73fa157a340cff6867ca0
Author: Michael Paquier <michael@paquier.xyz>
Date: 2025-07-22T05:34:15Z
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 <smithpb2250@gmail.com>
Reviewed-by: Japin Li <japinli@hotmail.com>
Discussion: https://postgr.es/m/CAHut+PvgYcPmPDi1YdHMJY5upnyGRpc0N8pk1xNB11xDSBwNog@mail.gmail.com
Backpatch-through: 17

Files

PathChange+/−
doc/src/sgml/indexam.sgml modified +1 −1
src/include/access/amapi.h modified +1 −1

Discussion