forked frompostgres/postgres
- Notifications
You must be signed in to change notification settings - Fork6
Commit5ff95e6
committed
Add third idea about pulling data from indexes.
> A third idea would be for a heap scan to check if all rows are visible> and if so set a per-table flag which can be checked by index scans.> Any change to the table would have to clear the flag. To detect> changes during the heap scan a counter could be set at the start and> checked at the end --- if it is the same, the table has not been> modified --- any table change would increment the counter.1 parent811f91c commit5ff95e6
1 file changed
+8
-1
lines changedLines changed: 8 additions & 1 deletion
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
8 | 8 |
| |
9 | 9 |
| |
10 | 10 |
| |
11 |
| - | |
| 11 | + | |
12 | 12 |
| |
13 | 13 |
| |
14 | 14 |
| |
| |||
1010 | 1010 |
| |
1011 | 1011 |
| |
1012 | 1012 |
| |
| 1013 | + | |
| 1014 | + | |
| 1015 | + | |
| 1016 | + | |
| 1017 | + | |
| 1018 | + | |
| 1019 | + | |
1013 | 1020 |
| |
1014 | 1021 |
| |
1015 | 1022 |
| |
|
0 commit comments
Comments
(0)