PostgreSQL: Documentation: devel: O.7. refint Extension Removed
DocumentationPostgreSQL devel (2026-09-11 15:39:05 - git commit 962e0a723a2)
Development Versions: devel
This documentation is for an unsupported version of PostgreSQL.
You may want to view the same page for the current version, or one of the other supported versions listed above instead.

O.7. refint Extension Removed #

PostgreSQL 19 and below shipped an extension named refint (part of the spi contrib module) that provided the trigger functions check_primary_key and check_foreign_key as an early way to enforce referential integrity. This functionality was long superseded by the built-in foreign key mechanism (see Section 5.5.5), and the extension was removed in PostgreSQL 20.