pgsql: Doc: indexUnchanged is strictly a hint.

From: Peter Geoghegan <pg(at)bowt(dot)ie>
To: pgsql-committers(at)lists(dot)postgresql(dot)org
Subject: pgsql: Doc: indexUnchanged is strictly a hint.
Date: 2023-10-24 16:27:57
Message-ID: E1qvKG4-0028NA-Pl@gemulon.postgresql.org
Views: Whole Thread | Raw Message | Download mbox | Resend email
Thread:
Lists: pgsql-committers

Doc: indexUnchanged is strictly a hint.

Clearly spell out the limitations of aminsert()'s indexUnchanged hinting
mechanism in the index AM documentation.

Oversight in commit 9dc718bd, which added the "logically unchanged
index" hint (which is used to trigger bottom-up index deletion).

Author: Peter Geoghegan <pg(at)bowt(dot)ie>
Reported-By: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Reviewed-By: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Discussion: https://postgr.es/m/CAH2-WzmU_BQ=-H9L+bxTSMQBqHMjp1DSwGypvL0gKs+dTOfkKg@mail.gmail.com
Backpatch: 14-, where indexUnchanged hinting was introduced.

Branch
------
REL_15_STABLE

Details
-------
https://git.postgresql.org/pg/commitdiff/be2502947f299a8f8f076e49eb74289558654368

Modified Files
--------------
doc/src/sgml/indexam.sgml | 10 +++++++---
1 file changed, 7 insertions(+), 3 deletions(-)

Browse pgsql-committers by date

  From Date Subject
Next Message Tom Lane 2023-10-24 18:48:49 pgsql: Fix problems when a plain-inheritance parent table is excluded.
Previous Message Jeff Davis 2023-10-24 00:43:03 pgsql: Assert that buffers are marked dirty before XLogRegisterBuffer()