doc: Inform about aminsertcleanup optional NULLness
authorMichael Paquier <michael@paquier.xyz>
Tue, 22 Jul 2025 05:34:22 +0000 (14:34 +0900)
committerMichael Paquier <michael@paquier.xyz>
Tue, 22 Jul 2025 05:34:22 +0000 (14:34 +0900)
commitd331243dc95dbae2474ef42492307c63b7eea2a2
tree3823a41393691c12679666ca511a9d14692a587f
parent2805e1c1edd5f5c59d40f85f8a32d26f9ccb10a6
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
doc/src/sgml/indexam.sgml
src/include/access/amapi.h