pgsql: Add regression test coverage for contrib/pg_buffercache.

Started by Tom Lanealmost 4 years ago1 messagescomitters
Jump to latest
#1Tom Lane
tgl@sss.pgh.pa.us

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: /messages/by-id/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(+)