forked frompostgres/postgres
- Notifications
You must be signed in to change notification settings - Fork6
Commit1753b1b
committed
Add pg_sequence system catalog
Move sequence metadata (start, increment, etc.) into a proper systemcatalog instead of storing it in the sequence heap object. Thisseparates the metadata from the sequence data. Sequence metadata is nowoperated on transactionally by DDL commands, whereas previouslyrollbacks of sequence-related DDL commands would be ignored.Reviewed-by: Andreas Karlsson <andreas@proxel.se>1 parentdb80acf commit1753b1b
File tree
19 files changed
+490
-269
lines changed- doc/src/sgml
- src
- backend
- catalog
- commands
- utils/cache
- bin/pg_dump
- include
- catalog
- commands
- utils
- test/regress
- expected
- sql
19 files changed
+490
-269
lines changedLines changed: 87 additions & 1 deletion
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
260 | 260 |
| |
261 | 261 |
| |
262 | 262 |
| |
| 263 | + | |
| 264 | + | |
| 265 | + | |
| 266 | + | |
| 267 | + | |
263 | 268 |
| |
264 | 269 |
| |
265 | 270 |
| |
| |||
1546 | 1551 |
| |
1547 | 1552 |
| |
1548 | 1553 |
| |
1549 |
| - | |
| 1554 | + | |
| 1555 | + | |
1550 | 1556 |
| |
1551 | 1557 |
| |
1552 | 1558 |
| |
| |||
5587 | 5593 |
| |
5588 | 5594 |
| |
5589 | 5595 |
| |
| 5596 | + | |
| 5597 | + | |
| 5598 | + | |
| 5599 | + | |
| 5600 | + | |
| 5601 | + | |
| 5602 | + | |
| 5603 | + | |
| 5604 | + | |
| 5605 | + | |
| 5606 | + | |
| 5607 | + | |
| 5608 | + | |
| 5609 | + | |
| 5610 | + | |
| 5611 | + | |
| 5612 | + | |
| 5613 | + | |
| 5614 | + | |
| 5615 | + | |
| 5616 | + | |
| 5617 | + | |
| 5618 | + | |
| 5619 | + | |
| 5620 | + | |
| 5621 | + | |
| 5622 | + | |
| 5623 | + | |
| 5624 | + | |
| 5625 | + | |
| 5626 | + | |
| 5627 | + | |
| 5628 | + | |
| 5629 | + | |
| 5630 | + | |
| 5631 | + | |
| 5632 | + | |
| 5633 | + | |
| 5634 | + | |
| 5635 | + | |
| 5636 | + | |
| 5637 | + | |
| 5638 | + | |
| 5639 | + | |
| 5640 | + | |
| 5641 | + | |
| 5642 | + | |
| 5643 | + | |
| 5644 | + | |
| 5645 | + | |
| 5646 | + | |
| 5647 | + | |
| 5648 | + | |
| 5649 | + | |
| 5650 | + | |
| 5651 | + | |
| 5652 | + | |
| 5653 | + | |
| 5654 | + | |
| 5655 | + | |
| 5656 | + | |
| 5657 | + | |
| 5658 | + | |
| 5659 | + | |
| 5660 | + | |
| 5661 | + | |
| 5662 | + | |
| 5663 | + | |
| 5664 | + | |
| 5665 | + | |
| 5666 | + | |
| 5667 | + | |
| 5668 | + | |
| 5669 | + | |
| 5670 | + | |
| 5671 | + | |
| 5672 | + | |
| 5673 | + | |
| 5674 | + | |
| 5675 | + | |
5590 | 5676 |
| |
5591 | 5677 |
| |
5592 | 5678 |
| |
|
Lines changed: 1 addition & 0 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
42 | 42 |
| |
43 | 43 |
| |
44 | 44 |
| |
| 45 | + | |
45 | 46 |
| |
46 | 47 |
| |
47 | 48 |
| |
|
Lines changed: 6 additions & 0 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
66 | 66 |
| |
67 | 67 |
| |
68 | 68 |
| |
| 69 | + | |
69 | 70 |
| |
70 | 71 |
| |
71 | 72 |
| |
| |||
1114 | 1115 |
| |
1115 | 1116 |
| |
1116 | 1117 |
| |
| 1118 | + | |
| 1119 | + | |
| 1120 | + | |
| 1121 | + | |
| 1122 | + | |
1117 | 1123 |
| |
1118 | 1124 |
| |
1119 | 1125 |
| |
|
Lines changed: 7 additions & 6 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
1535 | 1535 |
| |
1536 | 1536 |
| |
1537 | 1537 |
| |
1538 |
| - | |
1539 |
| - | |
1540 |
| - | |
1541 |
| - | |
1542 |
| - | |
1543 |
| - | |
| 1538 | + | |
| 1539 | + | |
| 1540 | + | |
| 1541 | + | |
| 1542 | + | |
| 1543 | + | |
1544 | 1544 |
| |
1545 | 1545 |
| |
1546 | 1546 |
| |
| 1547 | + | |
1547 | 1548 |
| |
1548 | 1549 |
| |
1549 | 1550 |
| |
|
Lines changed: 8 additions & 8 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
169 | 169 |
| |
170 | 170 |
| |
171 | 171 |
| |
172 |
| - | |
173 |
| - | |
174 |
| - | |
175 |
| - | |
176 |
| - | |
177 |
| - | |
| 172 | + | |
| 173 | + | |
| 174 | + | |
| 175 | + | |
| 176 | + | |
| 177 | + | |
178 | 178 |
| |
179 |
| - | |
180 |
| - | |
| 179 | + | |
| 180 | + | |
181 | 181 |
| |
182 | 182 |
| |
183 | 183 |
| |
|
0 commit comments
Comments
(0)