pgsql: doc: Inform about aminsertcleanup optional NULLness

From: Michael Paquier <michael(at)paquier(dot)xyz>
To: pgsql-committers(at)lists(dot)postgresql(dot)org
Subject: pgsql: doc: Inform about aminsertcleanup optional NULLness
Date: 2025-07-22 05:35:06
Message-ID: E1ue5ec-0008sV-1t@gemulon.postgresql.org
Views: Whole Thread | Raw Message | Download mbox | Resend email
Thread:
Lists: pgsql-committers

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(at)gmail(dot)com>
Reviewed-by: Japin Li <japinli(at)hotmail(dot)com>
Discussion: https://postgr.es/m/CAHut+PvgYcPmPDi1YdHMJY5upnyGRpc0N8pk1xNB11xDSBwNog@mail.gmail.com
Backpatch-through: 17

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/19179dbffc8fb9ff12b73fa157a340cff6867ca0

Modified Files
--------------
doc/src/sgml/indexam.sgml | 2 +-
src/include/access/amapi.h | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)

Browse pgsql-committers by date

  From Date Subject
Next Message Amit Kapila 2025-07-22 06:09:46 pgsql: Doc: Fix logical replication examples.
Previous Message Fujii Masao 2025-07-22 05:22:46 pgsql: Log remote NOTICE, WARNING, and similar messages using ereport()