doc: Inform about aminsertcleanup optional NULLness
authorMichael Paquier <michael@paquier.xyz>
Tue, 22 Jul 2025 05:34:19 +0000 (14:34 +0900)
committerMichael Paquier <michael@paquier.xyz>
Tue, 22 Jul 2025 05:34:19 +0000 (14:34 +0900)
commit282b10cb055e79d49c73f4652e841432321afcd9
treea0938a1d4099c148aacc5caf183456c327d5a0d2
parent0ded7615d8cafbb1a5ae3d0ba0a931eb146e63a5
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