- Notifications
You must be signed in to change notification settings - Fork5
Commit3223b25
committed
Disallow unlogged materialized views.
The initial implementation of this feature was really unsupportable,because it's relying on the physical size of an on-disk file to carry therelation's populated/unpopulated state, which is at least a modularityviolation and could have serious long-term consequences. We could say thatan unlogged matview goes to empty on crash, but not everybody likes thatdefinition, so let's just remove the feature for 9.3. We can add it backwhen we have a less klugy implementation.I left the grammar and tab-completion support for CREATE UNLOGGEDMATERIALIZED VIEW in place, since it's harmless and allows delivering amore specific error message about the unsupported feature.I'm committing this separately to ease identification of what should bereverted when/if we are able to re-enable the feature.1 parentc298660 commit3223b25
File tree
4 files changed
+16
-84
lines changed- doc/src/sgml/ref
- src
- backend/parser
- test/regress
- expected
- sql
4 files changed
+16
-84
lines changedLines changed: 1 addition & 11 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
21 | 21 |
| |
22 | 22 |
| |
23 | 23 |
| |
24 |
| - | |
| 24 | + | |
25 | 25 |
| |
26 | 26 |
| |
27 | 27 |
| |
| |||
54 | 54 |
| |
55 | 55 |
| |
56 | 56 |
| |
57 |
| - | |
58 |
| - | |
59 |
| - | |
60 |
| - | |
61 |
| - | |
62 |
| - | |
63 |
| - | |
64 |
| - | |
65 |
| - | |
66 |
| - | |
67 | 57 |
| |
68 | 58 |
| |
69 | 59 |
| |
|
Lines changed: 12 additions & 0 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
2166 | 2166 |
| |
2167 | 2167 |
| |
2168 | 2168 |
| |
| 2169 | + | |
| 2170 | + | |
| 2171 | + | |
| 2172 | + | |
| 2173 | + | |
| 2174 | + | |
| 2175 | + | |
| 2176 | + | |
| 2177 | + | |
| 2178 | + | |
| 2179 | + | |
| 2180 | + | |
2169 | 2181 |
| |
2170 | 2182 |
| |
2171 | 2183 |
| |
|
Lines changed: 2 additions & 55 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
279 | 279 |
| |
280 | 280 |
| |
281 | 281 |
| |
282 |
| - | |
283 |
| - | |
284 |
| - | |
285 |
| - | |
286 |
| - | |
287 |
| - | |
288 |
| - | |
289 |
| - | |
290 |
| - | |
291 |
| - | |
292 |
| - | |
293 |
| - | |
294 |
| - | |
295 |
| - | |
296 |
| - | |
297 |
| - | |
298 |
| - | |
299 |
| - | |
300 |
| - | |
301 |
| - | |
302 |
| - | |
303 |
| - | |
304 |
| - | |
305 |
| - | |
306 |
| - | |
307 |
| - | |
308 |
| - | |
309 |
| - | |
310 |
| - | |
311 |
| - | |
312 |
| - | |
313 |
| - | |
314 |
| - | |
315 |
| - | |
316 |
| - | |
317 |
| - | |
318 |
| - | |
319 |
| - | |
320 |
| - | |
321 |
| - | |
322 |
| - | |
323 |
| - | |
324 |
| - | |
325 |
| - | |
326 |
| - | |
327 |
| - | |
328 |
| - | |
329 |
| - | |
330 |
| - | |
331 |
| - | |
332 |
| - | |
333 |
| - | |
334 |
| - | |
| 282 | + | |
| 283 | + | |
335 | 284 |
| |
336 | 285 |
| |
337 | 286 |
| |
| |||
341 | 290 |
| |
342 | 291 |
| |
343 | 292 |
| |
344 |
| - | |
345 |
| - | |
346 | 293 |
| |
347 | 294 |
| |
348 | 295 |
| |
|
Lines changed: 1 addition & 18 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
87 | 87 |
| |
88 | 88 |
| |
89 | 89 |
| |
90 |
| - | |
91 |
| - | |
92 |
| - | |
93 |
| - | |
94 |
| - | |
95 |
| - | |
96 |
| - | |
97 |
| - | |
98 |
| - | |
99 |
| - | |
100 |
| - | |
101 |
| - | |
102 |
| - | |
103 |
| - | |
104 |
| - | |
| 90 | + | |
105 | 91 |
| |
106 | 92 |
| |
107 | 93 |
| |
108 | 94 |
| |
109 |
| - | |
110 |
| - | |
111 |
| - | |
112 | 95 |
| |
113 | 96 |
| |
114 | 97 |
| |
|
0 commit comments
Comments
(0)