pgsql: Remove stale comment on ri_FastPathCheck() - Mailing list pgsql-committers

From Amit Langote
Subject pgsql: Remove stale comment on ri_FastPathCheck()
Date
Msg-id E1wsF0T-00000000Y4I-1esL@gemulon.postgresql.org
Whole thread
List pgsql-committers
Remove stale comment on ri_FastPathCheck()

The note claiming ri_FastPathCheck() is only used by the ALTER TABLE
validation path is no longer accurate.  Rather than reword it, remove
it; the block comment above RI_FKey_check()'s call to the function
already documents when each path is taken, and a duplicated
cross-reference here would only drift out of date again.

Reported-by: Noah Misch <noah@leadboat.com>
Reviewed-by: Ayush Tiwari <ayushtiwari.slg01@gmail.com>
Discussion: https://postgr.es/m/20260705210533.ee.noahmisch@microsoft.com
Backpatch-through: 19

Branch
------
master

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

Modified Files
--------------
src/backend/utils/adt/ri_triggers.c | 3 ---
1 file changed, 3 deletions(-)


pgsql-committers by date:

Previous
From: Amit Langote
Date:
Subject: pgsql: Remove stale comment on ri_FastPathCheck()
Next
From: Amit Langote
Date:
Subject: pgsql: Fire fast-path FK batches inside the deferred trigger loop