forked frompostgres/postgres
- Notifications
You must be signed in to change notification settings - Fork6
Commitc5bf7a2
committed
WAL-log the extension of a new empty MV heap which is being populated.
This page with no tuples is used to distinguish an MV containing azero-row resultset of its backing query from an MV which has notbeen populated by its backing query. Unless WAL-logged, recoveryand hot standby don't work correctly with what should be an emptybut scannable materialized view.Fixes bugs reported by Fujii Masao in testing MVs on hot standby.1 parent5141603 commitc5bf7a2
1 file changed
+7
-1
lines changedLines changed: 7 additions & 1 deletion
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
14 | 14 |
| |
15 | 15 |
| |
16 | 16 |
| |
| 17 | + | |
17 | 18 |
| |
18 | 19 |
| |
19 | 20 |
| |
| |||
68 | 69 |
| |
69 | 70 |
| |
70 | 71 |
| |
71 |
| - | |
72 | 72 |
| |
73 | 73 |
| |
| 74 | + | |
| 75 | + | |
| 76 | + | |
| 77 | + | |
| 78 | + | |
74 | 79 |
| |
| 80 | + | |
75 | 81 |
| |
76 | 82 |
| |
77 | 83 |
| |
|
0 commit comments
Comments
(0)