postgresql/src/test/regress
Tom Lane 3b8f6e75f3 Fix partial-build problems introduced by having more generated headers.
Commit 372728b0d created some problems for usages like building a
subdirectory without having first done "make all" at the top level,
or for proceeding directly to "make install" without "make all".
The only reasonably clean way to fix this seems to be to force the
submake-generated-headers rule to fire in *any* "make all" or "make
install" command anywhere in the tree.  To avoid lots of redundant work,
as well as parallel make jobs possibly clobbering each others' output, we
still need to be sure that the rule fires only once in a recursive build.
For that, adopt the same MAKELEVEL hack previously used for "temp-install".
But try to document it a bit better.

The submake-errcodes mechanism previously used in src/port/ and src/common/
is subsumed by this, so we can get rid of those special cases.  It was
inadequate for src/common/ anyway after the aforesaid commit, and it always
risked parallel attempts to build errcodes.h.

Discussion: https://postgr.es/m/E1f5FAB-0006LU-MB@gemulon.postgresql.org
2018-04-09 16:42:10 -04:00
..
data Improve key representation for GIN jsonb_ops, and fix existence-search bug. 2014-05-09 08:41:26 -04:00
expected Attempt to stabilize partition_prune test output. 2018-04-08 06:35:42 +01:00
input Allow FOR EACH ROW triggers on partitioned tables 2018-03-23 10:48:22 -03:00
output Allow FOR EACH ROW triggers on partitioned tables 2018-03-23 10:48:22 -03:00
sql Attempt to stabilize partition_prune test output. 2018-04-08 06:35:42 +01:00
.gitignore Update .gitignore for config.cache. 2014-12-18 19:56:42 +09:00
GNUmakefile Fix partial-build problems introduced by having more generated headers. 2018-04-09 16:42:10 -04:00
Makefile Fix non-GNU makefiles for AIX make. 2017-11-30 00:57:22 -08:00
README Don't generate plain-text HISTORY and src/test/regress/README anymore. 2014-02-10 20:48:04 -05:00
parallel_schedule Indexes with INCLUDE columns and their support in B-tree 2018-04-07 23:00:39 +03:00
pg_regress.c pg_regress: Increase space available for test names. 2018-03-01 02:48:33 -08:00
pg_regress.h Update copyright for 2018 2018-01-02 23:30:12 -05:00
pg_regress_main.c Update copyright for 2018 2018-01-02 23:30:12 -05:00
regress.c Fix and improve pg_atomic_flag fallback implementation. 2018-04-06 19:55:32 -07:00
regressplans.sh Rename 'gmake' to 'make' in docs and recommended commands 2014-02-12 17:29:19 -05:00
resultmap Enable compiling with the mingw-w64 32 bit compiler. 2011-12-10 15:35:41 -05:00
serial_schedule Indexes with INCLUDE columns and their support in B-tree 2018-04-07 23:00:39 +03:00
standby_schedule Remove cvs keywords from all files. 2010-09-20 22:08:53 +02:00

README

Documentation concerning how to run these regression tests and interpret
the results can be found in the PostgreSQL manual, in the chapter
"Regression Tests".