postgresql/src/include/parser
Peter Eisentraut 34768ee361 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.

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-03-24 07:37:13 +01:00
..
analyze.h Add RETURNING support to MERGE. 2024-03-17 13:58:59 +00:00
kwlist.h Add temporal FOREIGN KEY contraints 2024-03-24 07:37:13 +01:00
parse_agg.h Update copyright for 2024 2024-01-03 20:49:05 -05:00
parse_clause.h Update copyright for 2024 2024-01-03 20:49:05 -05: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 Add RETURNING support to MERGE. 2024-03-17 13:58:59 +00: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 Update copyright for 2024 2024-01-03 20:49:05 -05: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