From e1b6773eb67d37fb0d6eea4620bf1fd17cceaa6d Mon Sep 17 00:00:00 2001 From: Ayush Tiwari Date: Wed, 15 Jul 2026 18:52:11 +0530 Subject: [PATCH v1] Add note that refint will be removed in v20 refint has been removed from the spi contrib module in v20. Add a note to the documentation of the still-supported back branches so that users are aware the module is going away and are pointed to the built-in foreign key functionality instead. Suggested-by: Daniel Gustafsson Discussion: https://postgr.es/m/CAJTYsWUHq8Ohc6-N-xamOPYz-q3qUYMtwQX-1=Zi=5N1Q_GSEQ@mail.gmail.com Backpatch-through: 13 --- doc/src/sgml/contrib-spi.sgml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/doc/src/sgml/contrib-spi.sgml b/doc/src/sgml/contrib-spi.sgml index 7e4e580bc74..631283ad38c 100644 --- a/doc/src/sgml/contrib-spi.sgml +++ b/doc/src/sgml/contrib-spi.sgml @@ -32,6 +32,10 @@ check_foreign_key() are used to check foreign key constraints. (This functionality is long since superseded by the built-in foreign key mechanism, of course, but the module is still useful as an example.) + This module will be removed in PostgreSQL 20, + so you are encouraged to use the built-in + foreign key functionality + instead. -- 2.34.1