From 107783a5a2659baa28c3541782c634b9528a2f3f Mon Sep 17 00:00:00 2001 From: "Paul A. Jungwirth" Date: Tue, 17 Jun 2025 23:23:23 -0700 Subject: [PATCH v55 03/11] Document temporal PERIODs We don't support these yet, so we just explain the concept, say that we use ranges and multiranges, and say that we plan to support PERIODs in the future. Author: Paul A. Jungwirth --- doc/src/sgml/temporal.sgml | 29 +++++++++++++++++++++++++++++ 1 file changed, 29 insertions(+) diff --git a/doc/src/sgml/temporal.sgml b/doc/src/sgml/temporal.sgml index 4c4febb94b4..aab8917ac0a 100644 --- a/doc/src/sgml/temporal.sgml +++ b/doc/src/sgml/temporal.sgml @@ -15,6 +15,35 @@ tables. + + Periods + + + periods + + + + A period is metadata attached to a table + uniting two columns, a start time and end time, into one range-like + construct. Periods are used to represent system time and application time. A system-time + period must be named system_time, and an + application-time period can be named anything else. Their names must + not conflict with column names from the same table. + + + + Periods are referenced in several temporal operations described in + this chapter: temporal primary keys, unique constraints, foreign keys, + update commands, and delete commands. + PostgreSQL does not yet support periods. + Commands that accept periods instead accept columns with a + rangetype or multirangetype. + Support for periods is planned for the future. + + + Application Time -- 2.39.5