Re: BUG #18259: Assertion in ExtendBufferedRelLocal() fails after no-space-left condition

From: Michael Paquier <michael(at)paquier(dot)xyz>
To: Andres Freund <andres(at)anarazel(dot)de>
Cc: Richard Guo <guofenglinux(at)gmail(dot)com>, tender wang <tndrwang(at)gmail(dot)com>, Alexander Lakhin <exclusion(at)gmail(dot)com>, pgsql-bugs(at)lists(dot)postgresql(dot)org
Subject: Re: BUG #18259: Assertion in ExtendBufferedRelLocal() fails after no-space-left condition
Date: 2024-01-04 23:45:13
Message-ID: ZZdDCXW4HtRg1miG@paquier.xyz
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-bugs

On Thu, Jan 04, 2024 at 10:56:58AM -0800, Andres Freund wrote:
> But perhaps this could actually serve as a good first case for Michael's
> failure injection patch? A failure injection to make
> FileFallocate()/FileZero() fail should just be a few lines.
>
> We generally have pretty much no coverage for out-of-space, partial
> read/write, EINTR of file operations, because that's hard to do with the
> current test infrastructure. So this might be a nice first case.

Indeed. This one should be fairly simple with a single session, a
couple of SQLs and an ERROR callback.
--
Michael

In response to

Browse pgsql-bugs by date

  From Date Subject
Next Message Andrei Lepikhov 2024-01-05 03:32:26 Re: BUG #18261: Inconsistent results of SELECT affected by joined subqueries
Previous Message AC4G 2024-01-04 21:17:36 Postgres policy exists bug