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 E1wsF0F-00000000Y2v-1Gmf@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
------
REL_19_STABLE

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

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


pgsql-committers by date:

Previous
From: Michael Paquier
Date:
Subject: pgsql: Fix local pgstat entry leak on OOM during entry creation
Next
From: Amit Langote
Date:
Subject: pgsql: Remove stale comment on ri_FastPathCheck()