- Notifications
You must be signed in to change notification settings - Fork5
Commit33f80f8
committed
Drop no-longer-needed buffers during ALTER DATABASE SET TABLESPACE.
The previous coding assumed that we could just let buffers for thedatabase's old tablespace age out of the buffer arena naturally.The folly of that is exposed by bug #11867 from Marc Munro: the user couldlater move the database back to its original tablespace, after which anystill-surviving buffers would match lookups again and appear to containvalid data. But they'd be missing any changes applied while the databasewas in the new tablespace.This has been broken since ALTER SET TABLESPACE was introduced, soback-patch to all supported branches.1 parent5028f22 commit33f80f8
1 file changed
+17
-0
lines changedLines changed: 17 additions & 0 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
1153 | 1153 |
| |
1154 | 1154 |
| |
1155 | 1155 |
| |
| 1156 | + | |
| 1157 | + | |
| 1158 | + | |
| 1159 | + | |
| 1160 | + | |
| 1161 | + | |
| 1162 | + | |
| 1163 | + | |
| 1164 | + | |
| 1165 | + | |
| 1166 | + | |
| 1167 | + | |
| 1168 | + | |
| 1169 | + | |
| 1170 | + | |
| 1171 | + | |
| 1172 | + | |
1156 | 1173 |
| |
1157 | 1174 |
| |
1158 | 1175 |
| |
|
0 commit comments
Comments
(0)