- Notifications
You must be signed in to change notification settings - Fork5.2k
Commitab97aaa
committed
Update buffile.h/.c comments for removal of non-temp option.
Commit11e2645 removed BufFile's isTemp flag, thereby eliminatingthe possibility of resurrecting BufFileCreate(). But it left thatfunction in place, as well as a bunch of comments describing how thingsworked for the non-temp-file case. At best, that's now a source ofconfusion. So remove the long-since-commented-out function and changerelevant comments.I (tgl) wanted to rename BufFileCreateTemp() to BufFileCreate(), butthat seems not to be the consensus position, so leave it as-is.In passing, fix commitf0828b2's failure to update BufFileSeek'scomment to match the change of its argument type from long to off_t.(I think that might actually have been intentional at the time, butnow that 64-bit off_t is nearly universal, it looks anachronistic.)Thomas Munro and Tom LaneDiscussion:https://postgr.es/m/E1eFVyl-0008J1-RO@gemulon.postgresql.org1 parentdf3a66e commitab97aaa
2 files changed
+10
-30
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | 3 | | |
4 | | - | |
| 4 | + | |
5 | 5 | | |
6 | 6 | | |
7 | 7 | | |
| |||
20 | 20 | | |
21 | 21 | | |
22 | 22 | | |
23 | | - | |
24 | | - | |
| 23 | + | |
| 24 | + | |
25 | 25 | | |
26 | 26 | | |
27 | 27 | | |
| |||
45 | 45 | | |
46 | 46 | | |
47 | 47 | | |
48 | | - | |
49 | | - | |
| 48 | + | |
| 49 | + | |
50 | 50 | | |
51 | 51 | | |
52 | 52 | | |
| |||
175 | 175 | | |
176 | 176 | | |
177 | 177 | | |
178 | | - | |
179 | | - | |
180 | | - | |
181 | | - | |
182 | | - | |
183 | | - | |
184 | | - | |
185 | | - | |
186 | | - | |
187 | | - | |
188 | | - | |
189 | | - | |
190 | | - | |
191 | | - | |
192 | | - | |
193 | 178 | | |
194 | 179 | | |
195 | 180 | | |
| |||
202 | 187 | | |
203 | 188 | | |
204 | 189 | | |
205 | | - | |
| 190 | + | |
206 | 191 | | |
207 | 192 | | |
208 | 193 | | |
| |||
225 | 210 | | |
226 | 211 | | |
227 | 212 | | |
228 | | - | |
229 | | - | |
230 | | - | |
231 | | - | |
232 | 213 | | |
233 | 214 | | |
234 | 215 | | |
| |||
298 | 279 | | |
299 | 280 | | |
300 | 281 | | |
301 | | - | |
302 | | - | |
| 282 | + | |
303 | 283 | | |
304 | 284 | | |
305 | 285 | | |
| |||
471 | 451 | | |
472 | 452 | | |
473 | 453 | | |
474 | | - | |
475 | | - | |
| 454 | + | |
| 455 | + | |
476 | 456 | | |
477 | 457 | | |
478 | 458 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | 3 | | |
4 | | - | |
| 4 | + | |
5 | 5 | | |
6 | 6 | | |
7 | 7 | | |
| |||
0 commit comments
Comments
(0)