doc: Inform about aminsertcleanup optional NULLness

Michael Paquier <michael@paquier.xyz>

Commit: 282b10cb055e79d49c73f4652e841432321afcd9
Author: Michael Paquier <michael@paquier.xyz>
Date: 2025-07-22T05:34:19Z
Releases: 18.0
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

Documentation touched

Discussion