- Notifications
You must be signed in to change notification settings - Fork4.9k
Commit8aee330
committed
Revert temporal primary keys and foreign keys
This feature set did not handle empty ranges correctly, and it's nowtoo late for PostgreSQL 17 to fix it.The following commits are reverted:6db4598 Add stratnum GiST support function46a0cd4 Add temporal PRIMARY KEY and UNIQUE constraints86232a4 Fix comment on gist_stratnum_btree030e10f Rename pg_constraint.conwithoutoverlaps to conperioda88c800 Use daterange and YMD in without_overlaps tests instead of tsrange.5577a71 Use half-open interval notation in without_overlaps tests34768ee Add temporal FOREIGN KEY contraints482e108 Add test for REPLICA IDENTITY with a temporal keyc3db1f3 doc: clarify PERIOD and WITHOUT OVERLAPS in CREATE TABLE144c2ce Fix ON CONFLICT DO NOTHING/UPDATE for temporal indexesDiscussion:https://www.postgresql.org/message-id/d0b64a7a-dfe4-4b84-a906-c7dedfa40a3e@eisentraut.org1 parentf6ebb41 commit8aee330
File tree
47 files changed
+149
-4475
lines changed- contrib/btree_gist
- expected
- sql
- doc/src/sgml
- ref
- src
- backend
- access/gist
- catalog
- commands
- executor
- optimizer/util
- parser
- utils
- adt
- cache
- bin
- pg_dump
- t
- psql
- include
- access
- catalog
- commands
- nodes
- parser
- test/regress
- expected
- sql
Some content is hidden
Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
47 files changed
+149
-4475
lines changedLines changed: 2 additions & 4 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
33 | 33 |
| |
34 | 34 |
| |
35 | 35 |
| |
36 |
| - | |
37 |
| - | |
| 36 | + | |
38 | 37 |
| |
39 | 38 |
| |
40 | 39 |
| |
41 | 40 |
| |
42 |
| - | |
43 |
| - | |
| 41 | + | |
44 | 42 |
| |
45 | 43 |
| |
46 | 44 |
| |
|
Lines changed: 0 additions & 87 deletions
This file was deleted.
Lines changed: 0 additions & 27 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
3 | 3 |
| |
4 | 4 |
| |
5 | 5 |
| |
6 |
| - | |
7 | 6 |
| |
8 | 7 |
| |
9 | 8 |
| |
10 | 9 |
| |
11 | 10 |
| |
12 | 11 |
| |
13 | 12 |
| |
14 |
| - | |
15 | 13 |
| |
16 | 14 |
| |
17 | 15 |
| |
| |||
53 | 51 |
| |
54 | 52 |
| |
55 | 53 |
| |
56 |
| - | |
57 |
| - | |
58 |
| - | |
59 |
| - | |
60 |
| - | |
61 |
| - | |
62 |
| - | |
63 |
| - | |
64 |
| - | |
65 |
| - | |
66 |
| - | |
67 |
| - | |
68 |
| - | |
69 |
| - | |
70 |
| - | |
71 |
| - | |
72 |
| - | |
73 |
| - | |
74 |
| - | |
75 |
| - | |
76 |
| - | |
77 |
| - | |
78 |
| - | |
79 |
| - | |
80 |
| - |
Lines changed: 1 addition & 1 deletion
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
1 | 1 |
| |
2 | 2 |
| |
3 |
| - | |
| 3 | + | |
4 | 4 |
| |
5 | 5 |
| |
6 | 6 |
|
Lines changed: 0 additions & 13 deletions
This file was deleted.
Lines changed: 0 additions & 92 deletions
This file was deleted.
Lines changed: 0 additions & 3 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
50 | 50 |
| |
51 | 51 |
| |
52 | 52 |
| |
53 |
| - | |
54 | 53 |
| |
55 | 54 |
| |
56 | 55 |
| |
| |||
90 | 89 |
| |
91 | 90 |
| |
92 | 91 |
| |
93 |
| - | |
94 |
| - | |
95 | 92 |
| |
96 | 93 |
| |
97 | 94 |
|
Lines changed: 0 additions & 3 deletions
This file was deleted.
Lines changed: 0 additions & 53 deletions
This file was deleted.
Lines changed: 0 additions & 11 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
2729 | 2729 |
| |
2730 | 2730 |
| |
2731 | 2731 |
| |
2732 |
| - | |
2733 |
| - | |
2734 |
| - | |
2735 |
| - | |
2736 |
| - | |
2737 |
| - | |
2738 |
| - | |
2739 |
| - | |
2740 |
| - | |
2741 |
| - | |
2742 |
| - | |
2743 | 2732 |
| |
2744 | 2733 |
| |
2745 | 2734 |
| |
|
0 commit comments
Comments
(0)