diff options
| author | Tom Lane | 2022-07-30 19:33:44 +0000 |
|---|---|---|
| committer | Tom Lane | 2022-07-30 19:33:44 +0000 |
| commit | be39d88934331c47c43d8c51500305e928f06240 (patch) | |
| tree | 678da79401d4dc87d3fce86125f930cccf540872 /contrib/pg_buffercache/Makefile | |
| parent | d8e34fa7a18fab4aa8eb010edac133d63ecc11c6 (diff) | |
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
Diffstat (limited to 'contrib/pg_buffercache/Makefile')
| -rw-r--r-- | contrib/pg_buffercache/Makefile | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/contrib/pg_buffercache/Makefile b/contrib/pg_buffercache/Makefile index 2ab8c65b65c..d74b3e853c6 100644 --- a/contrib/pg_buffercache/Makefile +++ b/contrib/pg_buffercache/Makefile @@ -10,6 +10,8 @@ DATA = pg_buffercache--1.2.sql pg_buffercache--1.2--1.3.sql \ pg_buffercache--1.1--1.2.sql pg_buffercache--1.0--1.1.sql PGFILEDESC = "pg_buffercache - monitoring of shared buffer cache in real-time" +REGRESS = pg_buffercache + ifdef USE_PGXS PG_CONFIG = pg_config PGXS := $(shell $(PG_CONFIG) --pgxs) |
