Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit282b10c

Browse files
committed
doc: Inform about aminsertcleanup optional NULLness
This index AM callback has been introduced inc1ec02b and it isoptional, currently only being used by BRIN. Optional callbacks aredocumented with NULL as possible value in amapi.h and indexam.sgml, butthis 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.comBackpatch-through: 17
1 parent0ded761 commit282b10c

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

‎doc/src/sgml/indexam.sgml‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -147,7 +147,7 @@ typedef struct IndexAmRoutine
147147
ambuild_function ambuild;
148148
ambuildempty_function ambuildempty;
149149
aminsert_function aminsert;
150-
aminsertcleanup_function aminsertcleanup;
150+
aminsertcleanup_function aminsertcleanup; /* can be NULL */
151151
ambulkdelete_function ambulkdelete;
152152
amvacuumcleanup_function amvacuumcleanup;
153153
amcanreturn_function amcanreturn; /* can be NULL */

‎src/include/access/amapi.h‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -293,7 +293,7 @@ typedef struct IndexAmRoutine
293293
ambuild_functionambuild;
294294
ambuildempty_functionambuildempty;
295295
aminsert_functionaminsert;
296-
aminsertcleanup_functionaminsertcleanup;
296+
aminsertcleanup_functionaminsertcleanup;/* can be NULL */
297297
ambulkdelete_functionambulkdelete;
298298
amvacuumcleanup_functionamvacuumcleanup;
299299
amcanreturn_functionamcanreturn;/* can be NULL */

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp