doc: Inform about aminsertcleanup optional NULLness

Michael Paquier <michael@paquier.xyz>

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