Re: hash join error improvement (old)

Поиск
Список
Период
Сортировка
От Alvaro Herrera
Тема Re: hash join error improvement (old)
Дата
Msg-id 20200526222753.GA2785@alvherre.pgsql
обсуждение исходный текст
Ответ на Re: hash join error improvement (old)  (Tom Lane <tgl@sss.pgh.pa.us>)
Ответы Re: hash join error improvement (old)  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-hackers
On 2020-May-26, Tom Lane wrote:

> Are you sure you correctly identified the source of the bogus error
> report?

This version's better.  It doesn't touch the write side at all.
On the read side, only report a short read as such if errno's not set.

This error isn't frequently seen.  This page
https://blog.csdn.net/pg_hgdb/article/details/106279303
(A Postgres fork; blames the error on the temp hash files being encrypted,
suggests to increase temp_buffers) is the only one I found.

There are more uses of BufFileRead that don't bother to distinguish
these two cases apart, though -- logtape.c, tuplestore.c,
gistbuildbuffers.c all do the same.

-- 
Álvaro Herrera                https://www.2ndQuadrant.com/
PostgreSQL Development, 24x7 Support, Remote DBA, Training & Services

Вложения

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

Предыдущее
От: Vik Fearing
Дата:
Сообщение: Re: Default gucs for EXPLAIN
Следующее
От: Andy Fan
Дата:
Сообщение: Re: Make the qual cost on index Filter slightly higher than qual coston index Cond.