diff options
author | Vadim B. Mikheev <vadim4o@yahoo.com> | 1997-05-22 17:24:20 +0000 |
---|---|---|
committer | Vadim B. Mikheev <vadim4o@yahoo.com> | 1997-05-22 17:24:20 +0000 |
commit | c9be1bccc18df88c8a95b6748b9e979bed2f6cac (patch) | |
tree | e399828b16c78211644592d9a296bb2c5f99412c /src/tutorial/C-code/beard.c | |
parent | 19269069dccf805653aef5a46bbab99a8b39b4aa (diff) | |
download | postgresql-c9be1bccc18df88c8a95b6748b9e979bed2f6cac.tar.gz postgresql-c9be1bccc18df88c8a95b6748b9e979bed2f6cac.zip |
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.
Diffstat (limited to 'src/tutorial/C-code/beard.c')
0 files changed, 0 insertions, 0 deletions