forked frompostgres/postgres
- Notifications
You must be signed in to change notification settings - Fork6
Commitc9be1bc
committed
RelationPurgeLocalRelation():
/* * RelationFlushRelation () below will flush relation information * from the cache. We must call smgrclose to flush relation * information from SMGR & FMGR, too. We assume that for temp * relations smgrunlink is already called by heap_destroyr * and we skip smgrclose for them. - vadim 05/22/97 */ smgrclose(reln->rd_rel->relsmgr, reln); - it avoids memory leaks in SMGR & VFD.RelationFlushRelation(): there is no more call FileInvalidate(RelationGetSystemPort(relation)); - invalid (FileInvalidate() expects File, not SMGR' fd) - unuseful anyway.1 parent1926906 commitc9be1bc
1 file changed
+11
-4
lines changedLines changed: 11 additions & 4 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
7 | 7 |
| |
8 | 8 |
| |
9 | 9 |
| |
10 |
| - | |
| 10 | + | |
11 | 11 |
| |
12 | 12 |
| |
13 | 13 |
| |
| |||
1217 | 1217 |
| |
1218 | 1218 |
| |
1219 | 1219 |
| |
1220 |
| - | |
1221 |
| - | |
1222 |
| - | |
| 1220 | + | |
1223 | 1221 |
| |
1224 | 1222 |
| |
1225 | 1223 |
| |
| |||
1425 | 1423 |
| |
1426 | 1424 |
| |
1427 | 1425 |
| |
| 1426 | + | |
| 1427 | + | |
| 1428 | + | |
| 1429 | + | |
| 1430 | + | |
| 1431 | + | |
| 1432 | + | |
| 1433 | + | |
| 1434 | + | |
1428 | 1435 |
| |
1429 | 1436 |
| |
1430 | 1437 |
| |
|
0 commit comments
Comments
(0)