postgresql/src/include/parser
Peter Eisentraut 89f908a6d0 Add temporal FOREIGN KEY contraints
Add PERIOD clause to foreign key constraint definitions.  This is
supported for range and multirange types.  Temporal foreign keys check
for range containment instead of equality.

This feature matches the behavior of the SQL standard temporal foreign
keys, but it works on PostgreSQL's native ranges instead of SQL's
"periods", which don't exist in PostgreSQL (yet).

Reference actions ON {UPDATE,DELETE} {CASCADE,SET NULL,SET DEFAULT}
are not supported yet.

(previously committed as 34768ee361, reverted by 8aee330af55; this is
essentially unchanged from those)

Author: Paul A. Jungwirth <pj@illuminatedcomputing.com>
Reviewed-by: Peter Eisentraut <peter@eisentraut.org>
Reviewed-by: jian he <jian.universality@gmail.com>
Discussion: https://www.postgresql.org/message-id/flat/CA+renyUApHgSZF9-nd-a0+OPGharLQLO=mDHcY4_qQ0+noCUVg@mail.gmail.com
2024-09-17 11:29:30 +02:00
..
analyze.h Add RETURNING support to MERGE. 2024-03-17 13:58:59 +00:00
kwlist.h Add temporal FOREIGN KEY contraints 2024-09-17 11:29:30 +02:00
parse_agg.h Update copyright for 2024 2024-01-03 20:49:05 -05:00
parse_clause.h Add basic JSON_TABLE() functionality 2024-04-04 20:20:15 +09:00
parse_coerce.h Update copyright for 2024 2024-01-03 20:49:05 -05:00
parse_collate.h Update copyright for 2024 2024-01-03 20:49:05 -05:00
parse_cte.h Update copyright for 2024 2024-01-03 20:49:05 -05:00
parse_enr.h Update copyright for 2024 2024-01-03 20:49:05 -05:00
parse_expr.h Update copyright for 2024 2024-01-03 20:49:05 -05:00
parse_func.h Update copyright for 2024 2024-01-03 20:49:05 -05:00
parse_merge.h Update copyright for 2024 2024-01-03 20:49:05 -05:00
parse_node.h Introduce an RTE for the grouping step 2024-09-10 12:35:34 +09:00
parse_oper.h Update copyright for 2024 2024-01-03 20:49:05 -05:00
parse_param.h Update copyright for 2024 2024-01-03 20:49:05 -05:00
parse_relation.h Introduce an RTE for the grouping step 2024-09-10 12:35:34 +09:00
parse_target.h Update copyright for 2024 2024-01-03 20:49:05 -05:00
parse_type.h Add a const decoration 2024-01-25 13:34:49 +01:00
parse_utilcmd.h Update copyright for 2024 2024-01-03 20:49:05 -05:00
parser.h Update copyright for 2024 2024-01-03 20:49:05 -05:00
parsetree.h Update copyright for 2024 2024-01-03 20:49:05 -05:00
scanner.h Update copyright for 2024 2024-01-03 20:49:05 -05:00
scansup.h Update copyright for 2024 2024-01-03 20:49:05 -05:00