Re: Limitations on 7.0.3?

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: Limitations on 7.0.3?
Дата
Msg-id 22392.1184681238@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: Limitations on 7.0.3?  (Richard Huxton <dev@archonet.com>)
Список pgsql-general
Richard Huxton <dev@archonet.com> writes:
> I think tag_hash (in /backend/utils/hash/hashfn.c) is responsible for
> internal hash-tables (rather than hash indexes). It takes a pointer to a
> key to hash and a keysize (in bytes), so either the pointer is bad or
> the size is too long and it's reading off the end.

Those stack traces hardly seem credible --- the key being hashed is a
local variable in BufferAlloc, so the pointer can't really be bad,
and the length apparently is 12 as it should be.  I was wondering if
maybe the hashp->hash function pointer got corrupted, but that seems
unlikely too seeing that it's part of a struct that never changes.

> If it's not a hardware related problem, then it's a bug, but you're
> unlikely to get a fix given how old the code is.

If you can reproduce the problem in something reasonably recent, we'd be
interested in taking a look.  Nobody is going to spend any time on 7.0.x
though.  It *will* eat your data someday ... you need to put more time
into getting off it and less into studying its bugs.

            regards, tom lane

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

Предыдущее
От: Michael Fuhr
Дата:
Сообщение: Re: average/stddev on all values returned by a select distinct
Следующее
От: ann hedley
Дата:
Сообщение: Re: average/stddev on all values returned by a select distinct