Re: [sqlsmith] Failed assertion in _hash_kill_items/MarkBufferDirtyHint

Поиск
Список
Период
Сортировка
Искать
От
Robert Haas
Тема
Re: [sqlsmith] Failed assertion in _hash_kill_items/MarkBufferDirtyHint
Дата
Msg-id
CA+TgmobwMxZdJo-9VwT9oz0oR-vzJQnQ3F5mOKQHrLoCOfm2WA@mail.gmail.com
Ответ на
Список
Дерево обсуждения
[sqlsmith] Failed assertion in _hash_kill_items/MarkBufferDirtyHint Andreas Seltenreich <seltenreich@gmx.de>
Re: [sqlsmith] Failed assertion in _hash_kill_items/MarkBufferDirtyHint Ashutosh Sharma <ashu.coek88@gmail.com>
Re: [sqlsmith] Failed assertion in _hash_kill_items/MarkBufferDirtyHint Andreas Seltenreich <seltenreich@gmx.de>
Re: [sqlsmith] Failed assertion in _hash_kill_items/MarkBufferDirtyHint Andreas Seltenreich <seltenreich@gmx.de>
Re: [sqlsmith] Failed assertion in _hash_kill_items/MarkBufferDirtyHint Ashutosh Sharma <ashu.coek88@gmail.com>
Re: [sqlsmith] Failed assertion in _hash_kill_items/MarkBufferDirtyHint Ashutosh Sharma <ashu.coek88@gmail.com>
Re: [sqlsmith] Failed assertion in _hash_kill_items/MarkBufferDirtyHint Robert Haas <robertmhaas@gmail.com>
Re: [sqlsmith] Failed assertion in _hash_kill_items/MarkBufferDirtyHint Ashutosh Sharma <ashu.coek88@gmail.com>
Re: [sqlsmith] Failed assertion in _hash_kill_items/MarkBufferDirtyHint Robert Haas <robertmhaas@gmail.com>
Re: [sqlsmith] Failed assertion in _hash_kill_items/MarkBufferDirtyHint Amit Kapila <amit.kapila16@gmail.com>
Re: [sqlsmith] Failed assertion in _hash_kill_items/MarkBufferDirtyHint Ashutosh Sharma <ashu.coek88@gmail.com>
Re: [sqlsmith] Failed assertion in _hash_kill_items/MarkBufferDirtyHint Ashutosh Sharma <ashu.coek88@gmail.com>
Re: [sqlsmith] Failed assertion in _hash_kill_items/MarkBufferDirtyHint Ashutosh Sharma <ashu.coek88@gmail.com>
Re: [sqlsmith] Failed assertion in _hash_kill_items/MarkBufferDirtyHint Robert Haas <robertmhaas@gmail.com>
On Fri, Mar 31, 2017 at 6:09 PM, Ashutosh Sharma  wrote:
> Well, That is another option but the main idea was to be inline with
> the btree code.

That's not a bad goal in principal, but _bt_killitems() doesn't have
any similar argument.

(Also, speaking of consistency, why did we end up with
_hash_kill_items, with an underscore between kill and items, and
_bt_killitems, without one?)

> Moreover, I am not sure if acquiring lwlock inside
> hashendscan (basically the place where we are trying to close down the
> things) would look good.

Well, if that's not a good thing to do, hiding it inside some other
function doesn't make it better.  I think it's fine, though.

-- 
Robert Haas
EnterpriseDB: http://www.enterprisedb.com
The Enterprise PostgreSQL Company


В списке pgsql-hackers по дате отправления
От: Petr Jelinek
Дата:
От: Petr Jelinek
Дата:
FAQ