Re: [HACKERS] double opens - Mailing list pgsql-hackers

From Bruce Momjian
Subject Re: [HACKERS] double opens
Date
Msg-id 199909271549.LAA17065@candle.pha.pa.us
Whole thread Raw
In response to Re: [HACKERS] double opens  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-hackers
> Bruce Momjian <maillist@candle.pha.pa.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...

Sorry, I missed it the first time.  I see it now. Thanks.



> 
> >> *** 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
> 


--  Bruce Momjian                        |  http://www.op.net/~candle maillist@candle.pha.pa.us            |  (610)
853-3000+  If your life is a hard drive,     |  830 Blythe Avenue +  Christ can be your backup.        |  Drexel Hill,
Pennsylvania19026
 


pgsql-hackers by date:

Previous
From: Bruce Momjian
Date:
Subject: Re: [HACKERS] _text problem in union
Next
From: Bruce Momjian
Date:
Subject: Re: [PATCHES] RE: [HACKERS] Index access using multi-column indices