postgresql/src/include/commands
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
..
alter.h Update copyright for 2024 2024-01-03 20:49:05 -05:00
async.h Improve performance of subsystems on top of SLRU 2024-02-28 17:05:31 +01:00
cluster.h Update copyright for 2024 2024-01-03 20:49:05 -05:00
collationcmds.h Update copyright for 2024 2024-01-03 20:49:05 -05:00
comment.h Update copyright for 2024 2024-01-03 20:49:05 -05:00
conversioncmds.h Update copyright for 2024 2024-01-03 20:49:05 -05:00
copy.h Rename COPY option from SAVE_ERROR_TO to ON_ERROR 2024-01-19 15:15:51 +02:00
copyfrom_internal.h Revert "Refactor CopyReadAttributes{CSV,Text}() to use a callback in COPY FROM" 2024-02-14 10:07:22 +09:00
createas.h Update copyright for 2024 2024-01-03 20:49:05 -05:00
dbcommands.h Update copyright for 2024 2024-01-03 20:49:05 -05:00
dbcommands_xlog.h Update copyright for 2024 2024-01-03 20:49:05 -05:00
defrem.h Add temporal FOREIGN KEY contraints 2024-03-24 07:37:13 +01:00
discard.h Update copyright for 2024 2024-01-03 20:49:05 -05:00
event_trigger.h Update copyright for 2024 2024-01-03 20:49:05 -05:00
explain.h Improve support for ExplainOneQuery() hook 2024-03-11 08:40:40 +09:00
extension.h Update copyright for 2024 2024-01-03 20:49:05 -05:00
lockcmds.h Update copyright for 2024 2024-01-03 20:49:05 -05:00
matview.h Update copyright for 2024 2024-01-03 20:49:05 -05:00
policy.h Update copyright for 2024 2024-01-03 20:49:05 -05:00
portalcmds.h Update copyright for 2024 2024-01-03 20:49:05 -05:00
prepare.h Update copyright for 2024 2024-01-03 20:49:05 -05:00
proclang.h Update copyright for 2024 2024-01-03 20:49:05 -05:00
progress.h Add progress reporting of skipped tuples during COPY FROM. 2024-01-25 10:57:41 +09:00
publicationcmds.h Update copyright for 2024 2024-01-03 20:49:05 -05:00
schemacmds.h Update copyright for 2024 2024-01-03 20:49:05 -05:00
seclabel.h Update copyright for 2024 2024-01-03 20:49:05 -05:00
sequence.h Update copyright for 2024 2024-01-03 20:49:05 -05:00
subscriptioncmds.h Update copyright for 2024 2024-01-03 20:49:05 -05:00
tablecmds.h Reintroduce MAINTAIN privilege and pg_maintain predefined role. 2024-03-13 14:49:26 -05:00
tablespace.h Update copyright for 2024 2024-01-03 20:49:05 -05:00
trigger.h Update copyright for 2024 2024-01-03 20:49:05 -05:00
typecmds.h Update copyright for 2024 2024-01-03 20:49:05 -05:00
user.h Add new GUC createrole_self_grant. 2023-01-10 12:44:49 -05:00
vacuum.h Reintroduce MAINTAIN privilege and pg_maintain predefined role. 2024-03-13 14:49:26 -05:00
view.h Update copyright for 2024 2024-01-03 20:49:05 -05:00