postgresql/src/bin/pg_amcheck
Michael Paquier c731f9187b Replace magic constants for seek() calls in perl scripts
A couple of tests have been using 0 as magic constant while SEEK_SET can
be used instead.  This makes the code easier to understand, and more
consistent with the changes done in 3c5b068.

Per discussion with Andrew Dunstan.

Discussion: https://postgr.es/m/YHrc24AgJQ6tQ1q0@paquier.xyz
2021-04-19 10:15:35 +09:00
..
t Replace magic constants for seek() calls in perl scripts 2021-04-19 10:15:35 +09:00
.gitignore
Makefile
nls.mk Add missing source files to nls.mk 2021-04-18 16:11:58 +02:00
pg_amcheck.c pg_amcheck: Add basic NLS support 2021-04-12 19:04:33 +02:00
README Doc: add note about how to run the pg_amcheck regression tests. 2021-03-13 11:10:30 -05:00

src/bin/pg_amcheck/README

pg_amcheck is a command-line tool for running the amcheck extension.

Running the regression tests
============================

NOTE: You must have given the --enable-tap-tests argument to configure.
Also, to use "make installcheck", you must have built and installed
contrib/amcheck and contrib/pageinspect in addition to the core code.

Run
    make check
or
    make installcheck
You can use "make installcheck" if you previously did "make install".
In that case, the code in the installation tree is tested.  With
"make check", a temporary installation tree is built from the current
sources and then tested.