Add regression test coverage for contrib/pg_buffercache.
Tom 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: https://postgr.es/m/CAAcByaLCHGJB7qAENEcx9D09UL=w4ma+yijwF_-1MSqQZ9wK6Q@mail.gmail.com
Files
| Path | Change | +/− |
|---|---|---|
| contrib/pg_buffercache/expected/pg_buffercache.out | added | +10 −0 |
| contrib/pg_buffercache/.gitignore | added | +4 −0 |
| contrib/pg_buffercache/Makefile | modified | +2 −0 |
| contrib/pg_buffercache/sql/pg_buffercache.sql | added | +6 −0 |
Discussion
- pg_buffercache: add sql test 7 messages · 2022-06-06 → 2022-08-02