Add regression test coverage for contrib/pg_buffercache.
authorTom Lane <[email protected]>
Sat, 30 Jul 2022 19:33:44 +0000 (15:33 -0400)
committerTom Lane <[email protected]>
Sat, 30 Jul 2022 19:33:44 +0000 (15:33 -0400)
commitbe39d88934331c47c43d8c51500305e928f06240
tree678da79401d4dc87d3fce86125f930cccf540872
parentd8e34fa7a18fab4aa8eb010edac133d63ecc11c6
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
contrib/pg_buffercache/.gitignore [new file with mode: 0644]
contrib/pg_buffercache/Makefile
contrib/pg_buffercache/expected/pg_buffercache.out [new file with mode: 0644]
contrib/pg_buffercache/sql/pg_buffercache.sql [new file with mode: 0644]