postgresql/contrib/btree_gist/sql
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
..
bit.sql
bool.sql
bytea.sql
cash.sql
char.sql
cidr.sql
date.sql
enum.sql
float4.sql
float8.sql
inet.sql
init.sql
int2.sql
int4.sql
int8.sql
interval.sql
macaddr8.sql
macaddr.sql
not_equal.sql
numeric.sql
oid.sql
partitions.sql
stratnum.sql
text.sql
time.sql
timestamp.sql
timestamptz.sql
timetz.sql
uuid.sql
varbit.sql
varchar.sql
without_overlaps.sql Add temporal FOREIGN KEY contraints 2024-03-24 07:37:13 +01:00