forked frompostgres/postgres
- Notifications
You must be signed in to change notification settings - Fork6
Commit030e10f
committed
Rename pg_constraint.conwithoutoverlaps to conperiod
pg_constraint.conwithoutoverlaps was recently added to support primarykeys and unique constraints with the WITHOUT OVERLAPS clause. Anupcoming patch provides the foreign-key side of this functionality,but the syntax there is different and uses the keyword PERIOD. Itwould make sense to use the same pg_constraint field for both ofthese, but then we should pick a more general name that conveys "thisconstraint has a temporal/period-related feature". conperiod worksfor that and is nicely compact. Changing this now avoids possiblyhaving to introduce versioning into clients. Note there are stillsome "without overlaps" variables left, which deal specifically withthe parsing of the primary key/unique constraint feature.Author: Paul A. Jungwirth <pj@illuminatedcomputing.com>Discussion:https://www.postgresql.org/message-id/flat/CA+renyUApHgSZF9-nd-a0+OPGharLQLO=mDHcY4_qQ0+noCUVg@mail.gmail.com1 parent55cdba2 commit030e10f
File tree
13 files changed
+26
-27
lines changed- doc/src/sgml
- src
- backend
- catalog
- commands
- utils
- adt
- cache
- bin
- pg_dump
- psql
- include/catalog
13 files changed
+26
-27
lines changedLines changed: 1 addition & 1 deletion
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
2711 | 2711 |
| |
2712 | 2712 |
| |
2713 | 2713 |
| |
2714 |
| - | |
| 2714 | + | |
2715 | 2715 |
| |
2716 | 2716 |
| |
2717 | 2717 |
| |
|
Lines changed: 2 additions & 2 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
2145 | 2145 |
| |
2146 | 2146 |
| |
2147 | 2147 |
| |
2148 |
| - | |
| 2148 | + | |
2149 | 2149 |
| |
2150 | 2150 |
| |
2151 | 2151 |
| |
| |||
2196 | 2196 |
| |
2197 | 2197 |
| |
2198 | 2198 |
| |
2199 |
| - | |
| 2199 | + | |
2200 | 2200 |
| |
2201 | 2201 |
| |
2202 | 2202 |
| |
|
Lines changed: 2 additions & 2 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
76 | 76 |
| |
77 | 77 |
| |
78 | 78 |
| |
79 |
| - | |
| 79 | + | |
80 | 80 |
| |
81 | 81 |
| |
82 | 82 |
| |
| |||
192 | 192 |
| |
193 | 193 |
| |
194 | 194 |
| |
195 |
| - | |
| 195 | + | |
196 | 196 |
| |
197 | 197 |
| |
198 | 198 |
| |
|
Lines changed: 3 additions & 3 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
10378 | 10378 |
| |
10379 | 10379 |
| |
10380 | 10380 |
| |
10381 |
| - | |
| 10381 | + | |
10382 | 10382 |
| |
10383 | 10383 |
| |
10384 | 10384 |
| |
| |||
10677 | 10677 |
| |
10678 | 10678 |
| |
10679 | 10679 |
| |
10680 |
| - | |
| 10680 | + | |
10681 | 10681 |
| |
10682 | 10682 |
| |
10683 | 10683 |
| |
| |||
11183 | 11183 |
| |
11184 | 11184 |
| |
11185 | 11185 |
| |
11186 |
| - | |
| 11186 | + | |
11187 | 11187 |
| |
11188 | 11188 |
| |
11189 | 11189 |
| |
|
Lines changed: 1 addition & 1 deletion
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
834 | 834 |
| |
835 | 835 |
| |
836 | 836 |
| |
837 |
| - | |
| 837 | + | |
838 | 838 |
| |
839 | 839 |
| |
840 | 840 |
| |
|
Lines changed: 1 addition & 1 deletion
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
3544 | 3544 |
| |
3545 | 3545 |
| |
3546 | 3546 |
| |
3547 |
| - | |
| 3547 | + | |
3548 | 3548 |
| |
3549 | 3549 |
| |
3550 | 3550 |
| |
|
Lines changed: 1 addition & 1 deletion
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
2378 | 2378 |
| |
2379 | 2379 |
| |
2380 | 2380 |
| |
2381 |
| - | |
| 2381 | + | |
2382 | 2382 |
| |
2383 | 2383 |
| |
2384 | 2384 |
| |
|
Lines changed: 3 additions & 3 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
5620 | 5620 |
| |
5621 | 5621 |
| |
5622 | 5622 |
| |
5623 |
| - | |
5624 |
| - | |
5625 |
| - | |
| 5623 | + | |
| 5624 | + | |
| 5625 | + | |
5626 | 5626 |
| |
5627 | 5627 |
| |
5628 | 5628 |
| |
|
Lines changed: 6 additions & 6 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
7252 | 7252 |
| |
7253 | 7253 |
| |
7254 | 7254 |
| |
7255 |
| - | |
| 7255 | + | |
7256 | 7256 |
| |
7257 | 7257 |
| |
7258 | 7258 |
| |
| |||
7341 | 7341 |
| |
7342 | 7342 |
| |
7343 | 7343 |
| |
7344 |
| - | |
| 7344 | + | |
7345 | 7345 |
| |
7346 | 7346 |
| |
7347 |
| - | |
| 7347 | + | |
7348 | 7348 |
| |
7349 | 7349 |
| |
7350 | 7350 |
| |
| |||
7412 | 7412 |
| |
7413 | 7413 |
| |
7414 | 7414 |
| |
7415 |
| - | |
| 7415 | + | |
7416 | 7416 |
| |
7417 | 7417 |
| |
7418 | 7418 |
| |
| |||
7520 | 7520 |
| |
7521 | 7521 |
| |
7522 | 7522 |
| |
7523 |
| - | |
| 7523 | + | |
7524 | 7524 |
| |
7525 | 7525 |
| |
7526 | 7526 |
| |
| |||
17158 | 17158 |
| |
17159 | 17159 |
| |
17160 | 17160 |
| |
17161 |
| - | |
| 17161 | + | |
17162 | 17162 |
| |
17163 | 17163 |
| |
17164 | 17164 |
| |
|
Lines changed: 1 addition & 2 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
479 | 479 |
| |
480 | 480 |
| |
481 | 481 |
| |
482 |
| - | |
483 |
| - | |
| 482 | + | |
484 | 483 |
| |
485 | 484 |
| |
486 | 485 |
| |
|
Lines changed: 2 additions & 2 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
2380 | 2380 |
| |
2381 | 2381 |
| |
2382 | 2382 |
| |
2383 |
| - | |
| 2383 | + | |
2384 | 2384 |
| |
2385 |
| - | |
| 2385 | + | |
2386 | 2386 |
| |
2387 | 2387 |
| |
2388 | 2388 |
| |
|
Lines changed: 1 addition & 1 deletion
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
57 | 57 |
| |
58 | 58 |
| |
59 | 59 |
| |
60 |
| - | |
| 60 | + | |
61 | 61 |
| |
62 | 62 |
|
Lines changed: 2 additions & 2 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
111 | 111 |
| |
112 | 112 |
| |
113 | 113 |
| |
114 |
| - | |
| 114 | + | |
115 | 115 |
| |
116 | 116 |
| |
117 | 117 |
| |
| |||
245 | 245 |
| |
246 | 246 |
| |
247 | 247 |
| |
248 |
| - | |
| 248 | + | |
249 | 249 |
| |
250 | 250 |
| |
251 | 251 |
| |
|
0 commit comments
Comments
(0)