Re: [HACKERS] double opens

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Bruce Momjian <maillist(at)candle(dot)pha(dot)pa(dot)us>
Cc: Hiroshi Inoue <Inoue(at)tpf(dot)co(dot)jp>, pgsql-hackers <pgsql-hackers(at)postgreSQL(dot)org>
Subject: Re: [HACKERS] double opens
Date: 1999-09-27 13:34:13
Message-ID: 26034.938439253@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Bruce Momjian <maillist(at)candle(dot)pha(dot)pa(dot)us> writes:
> Tom, can you comment on this patch. Seems you have made changes in this
> area. Thanks.

This change is in place in current sources --- it's a few lines away from
where Hiroshi suggested, but I don't think that makes any difference...

>> *** utils/cache/relcache.c.orig Wed May 26 16:05:38 1999
>> --- utils/cache/relcache.c Wed Jul 28 13:23:49 1999
>> ***************
>> *** 1282,1287 ****
>> --- 1282,1288 ----
>> oldcxt = MemoryContextSwitchTo((MemoryContext) CacheCxt);
>>
>> RelationCacheDelete(relation);
>> + smgrclose(DEFAULT_SMGR, relation);
>>
>> FreeTupleDesc(relation->rd_att);
>> SystemCacheRelationFlushed(RelationGetRelid(relation));
>>
>>
>>

regards, tom lane

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Bruce Momjian 1999-09-27 15:19:18 Re: TODO items (was Re: [COMMITTERS] pgsql/src/include/nodes (execnodes.h))
Previous Message Tom Lane 1999-09-27 13:29:31 Re: [HACKERS] int8 and index