Re: Bug? ExecChooseHashTableSize() got assertion failed with crazy number of rows

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: Bug? ExecChooseHashTableSize() got assertion failed with crazy number of rows
Дата
Msg-id 576.1439996819@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: Bug? ExecChooseHashTableSize() got assertion failed with crazy number of rows  (Tom Lane <tgl@sss.pgh.pa.us>)
Ответы Re: Bug? ExecChooseHashTableSize() got assertion failed with crazy number of rows  (Kevin Grittner <kgrittn@ymail.com>)
Список pgsql-hackers
I wrote:
> I don't think it's anywhere near as clear as you think.

Ah, scratch that --- I was looking at the wrong my_log2() call.
-ENOCAFFEINE.

I'm still doubtful that this is the only overflow risk in that new
ExecChooseHashTableSize code, though.  For instance, the only reason the
line immediately above this one isn't broken is that NTUP_PER_BUCKET is 1
... but surely we shouldn't be coding on that assumption.
        regards, tom lane



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

Предыдущее
От: Kevin Grittner
Дата:
Сообщение: Re: Bug? ExecChooseHashTableSize() got assertion failed with crazy number of rows
Следующее
От: Tatsuo Ishii
Дата:
Сообщение: Re: Proposal: Implement failover on libpq connect level.