Re: Adding facility for injection points (or probe points?) for more advanced tests

Michael Paquier <michael@paquier.xyz>

From: Michael Paquier <michael@paquier.xyz>
To: Nathan Bossart <nathandbossart@gmail.com>
Cc: Ashutosh Bapat <ashutosh.bapat.oss@gmail.com>, Dilip Kumar <dilipbalaut@gmail.com>, Postgres hackers <pgsql-hackers@lists.postgresql.org>
Date: 2024-01-07T01:20:08Z
Lists: pgsql-hackers
On Fri, Jan 05, 2024 at 10:28:47AM -0600, Nathan Bossart wrote:
> +1

Extra note for this thread: it is possible to add a SQL test case for
problems like what's been reported on this thread when facing a
partial write failure:
https://www.postgresql.org/message-id/18259-6e256429825dd435@postgresql.org
--
Michael

Commits

  1. ci: Enable injection points in builds

  2. Fix two memcpy() bugs in the new injection point code

  3. Add test module injection_points

  4. Add backend support for injection points

  5. Refactor code checking for file existence