Re: Add test of pg_prewarm extenion

Justin Pryzby <pryzby@telsasoft.com>

From: Justin Pryzby <pryzby@telsasoft.com>
To: Dong Wook Lee <sh95119@gmail.com>
Cc: pgsql-hackers@postgresql.org
Date: 2022-06-30T02:24:37Z
Lists: pgsql-hackers
On Wed, Jun 29, 2022 at 02:38:12PM +0900, Dong Wook Lee wrote:
> Hi hackers,
> I wrote a test for pg_prewarm extension. and I wrote it with the aim of improving test coverage, and feedback is always welcome.

The test fails when USE_PREFETCH isn't defined.
http://cfbot.cputube.org/dongwook-lee.html

You can accommodate that by adding an "alternate" output file, named like
pg_prewarm_0.out

BTW, you can test your patches the same as cfbot does (before mailing the list)
on 4 OSes by pushing a branch to a github account.  See ./src/tools/ci/README

-- 
Justin



Commits

  1. Add a regression test for contrib/pg_prewarm.