From: Tom Lane <tgl@sss.pgh.pa.us>
To: pgsql-committers@lists.postgresql.org
Subject: pgsql: Add regression test coverage for contrib/pg_buffercache.
Date: Sat, 30 Jul 2022 19:33:50 +0000
Message-ID: <E1oHsDd-001yEL-Oq@gemulon.postgresql.org> (raw)
Add regression test coverage for contrib/pg_buffercache.
We can't check the output of this view very closely without
creating portability headaches, but we can make sure that
the number of rows is as-expected. In any case, this is
sufficient to exercise all the C code within, which is a
lot better than the 0% coverage we had before.
DongWook Lee
Discussion: https://postgr.es/m/CAAcByaLCHGJB7qAENEcx9D09UL=w4ma+yijwF_-1MSqQZ9wK6Q@mail.gmail.com
Branch
------
master
Details
-------
https://git.postgresql.org/pg/commitdiff/be39d88934331c47c43d8c51500305e928f06240
Modified Files
--------------
contrib/pg_buffercache/.gitignore | 4 ++++
contrib/pg_buffercache/Makefile | 2 ++
contrib/pg_buffercache/expected/pg_buffercache.out | 10 ++++++++++
contrib/pg_buffercache/sql/pg_buffercache.sql | 6 ++++++
4 files changed, 22 insertions(+)
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-committers@postgresql.org
Cc: tgl@sss.pgh.pa.us
Subject: Re: pgsql: Add regression test coverage for contrib/pg_buffercache.
In-Reply-To: <E1oHsDd-001yEL-Oq@gemulon.postgresql.org>
References: <E1oHsDd-001yEL-Oq@gemulon.postgresql.org>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox