↑↓ select↵ open⌫ change scopeOpen full search

PG.CENTER connects PostgreSQL documentation, reference, and ecosystem knowledge. Maintained by Pigsty.

Development versions: 20devel
Development snapshot. PostgreSQL 20devel has not been released. Content may change.

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.

Report a documentation issue

Read the upstream documentation. For corrections, first check the current manual.