Re: [HACKERS] double opens

From: Bruce Momjian <maillist(at)candle(dot)pha(dot)pa(dot)us>
To: Tom Lane <tgl(at)sss(dot)pgh(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 15:49:12
Message-ID: 199909271549.LAA17065@candle.pha.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...

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(at)candle(dot)pha(dot)pa(dot)us | (610) 853-3000
+ If your life is a hard drive, | 830 Blythe Avenue
+ Christ can be your backup. | Drexel Hill, Pennsylvania 19026

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Lamar Owen 1999-09-27 16:02:26 Regression tests on intel for 6.5.2
Previous Message Bruce Momjian 1999-09-27 15:42:33 Re: [HACKERS] _text problem in union