mirror of
https://github.com/postgres/postgres.git
synced 2025-07-29 12:12:46 +00:00
doc: Inform about aminsertcleanup optional NULLness
This index AM callback has been introduced in c1ec02be1d
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
This commit is contained in:
@ -141,7 +141,7 @@ typedef struct IndexAmRoutine
|
||||
ambuild_function ambuild;
|
||||
ambuildempty_function ambuildempty;
|
||||
aminsert_function aminsert;
|
||||
aminsertcleanup_function aminsertcleanup;
|
||||
aminsertcleanup_function aminsertcleanup; /* can be NULL */
|
||||
ambulkdelete_function ambulkdelete;
|
||||
amvacuumcleanup_function amvacuumcleanup;
|
||||
amcanreturn_function amcanreturn; /* can be NULL */
|
||||
|
@ -271,7 +271,7 @@ typedef struct IndexAmRoutine
|
||||
ambuild_function ambuild;
|
||||
ambuildempty_function ambuildempty;
|
||||
aminsert_function aminsert;
|
||||
aminsertcleanup_function aminsertcleanup;
|
||||
aminsertcleanup_function aminsertcleanup; /* can be NULL */
|
||||
ambulkdelete_function ambulkdelete;
|
||||
amvacuumcleanup_function amvacuumcleanup;
|
||||
amcanreturn_function amcanreturn; /* can be NULL */
|
||||
|
Reference in New Issue
Block a user