Re: [HACKERS] Another nasty cache problem

Поиск
Список
Период
Сортировка
От Peter Eisentraut
Тема Re: [HACKERS] Another nasty cache problem
Дата
Msg-id Pine.GSO.4.02A.10001311357010.12762-100000@Hund.DoCS.UU.SE
обсуждение исходный текст
Ответ на Re: [HACKERS] Another nasty cache problem  (Bruce Momjian <pgman@candle.pha.pa.us>)
Список pgsql-hackers
On Sun, 30 Jan 2000, Bruce Momjian wrote:

> > Perhaps the caches shouldn't store ctid?  Not sure.
> 
> I am guilt of that.  There are a few place where I grab the tuple from
> the cache, then use that to update the heap.  I thought it was a nifty
> solution at the time.  I thought I used the CacheCopy calls for that,
> but I am not positive.  Even if I did, that doesn't help because the
> copy probably has an invalid tid at that point, thought I have opened
> the table. Maybe I have to make sure I open the table before geting the
> tid from the cache.

Urgh, I better check my code for that as well ... :(

> 
> Is it only the tid that is of concern.  If so, that can probably be
> fixed somehow.
> 
> 
> 

-- 
Peter Eisentraut                  Sernanders vaeg 10:115
peter_e@gmx.net                   75262 Uppsala
http://yi.org/peter-e/            Sweden



В списке pgsql-hackers по дате отправления:

Предыдущее
От: Peter Eisentraut
Дата:
Сообщение: Re: [HACKERS] Another nasty cache problem
Следующее
От: Peter Eisentraut
Дата:
Сообщение: Re: Case-folding bogosity in new psql