Re: hash join error improvement (old) - Mailing list pgsql-hackers

From Tom Lane
Subject Re: hash join error improvement (old)
Date
Msg-id 20409.1590543021@sss.pgh.pa.us
Whole thread Raw
In response to Re: hash join error improvement (old)  (Alvaro Herrera <alvherre@2ndquadrant.com>)
Responses Re: hash join error improvement (old)
List pgsql-hackers
Alvaro Herrera <alvherre@2ndquadrant.com> writes:
> 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.

Yeah.  I rather suspect that callers of BufFileRead/Write are mostly
expecting that those functions will throw an ereport() for any interesting
error condition.  Maybe we should make it so, instead of piecemeal fixing
the callers?

            regards, tom lane



pgsql-hackers by date:

Previous
From: Kyotaro Horiguchi
Date:
Subject: Re: Remove page-read callback from XLogReaderState.
Next
From: Melanie Plageman
Date:
Subject: Re: Trouble with hashagg spill I/O pattern and costing