select open change scope Open full search

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

Extensions / Time series

time_for_keys

C and PL/pgSQL helpers that enforce temporal foreign keys between valid-time tables with constraint triggers.

pgext.cloud · Source code · Documentation · License text · Control file

Overview

Packagetime_for_keys
Version0.0.1
RepositoryUnspecified
Extension typeStandard
Requires CREATE EXTENSIONYes
Requires preloadNo
TrustedNo
RelocatableYes
Stars23
Latest commit2018-07-09
Catalogue updated2026-08-30

Related extensions

Requires

plpgsqlPL/pgSQL procedural language

See also

temporalC extension providing a PERIOD type over timestamp-with-time-zone values, temporal relation operators and functions, plus GiST indexing support.
pgsftiPostgreSQL data type for simple trapezoidal fuzzy time intervals and fuzzy temporal relations.
temporal_tablestemporal tables
sql_sagaC and PL/pgSQL extension for valid-time temporal tables, temporal foreign keys, history-preserving views, and bulk temporal merge operations.
range_aggrange_agg: merge adjacent or overlapping PostgreSQL range values
lostgisLostGIS spatial helper functions and types
pg_role_fkey_trigger_functionsA bunch of trigger functions to help establish and/or maintain referential integrity for columns that reference PostgreSQL ROLE NAMEs.
emajEnables fine-grained write logging and time travel on subsets of the database.