mirror of
https://git.postgresql.org/git/postgresql.git
synced 2025-02-17 19:30:00 +08:00
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
|
||
---|---|---|
.. | ||
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 |