postgresql/src/test/regress
Tom Lane 7107d58ec5 Fix misplacement of submake-generated-headers prerequisites.
The sequence "configure; cd src/pl/plpython; make -j" failed due to
trying to compile plpython's .o files before the generated headers
finished building.  (This is an important real-world case, since it's
the typical second step when building both plpython2 and plpython3.)
This happens because the submake-generated-headers target is not
placed in a way to make it a prerequisite to compiling the .o files.
Fix that.

Checking other uses of submake-generated-headers, I noted that the one
attached to pg_regress was similarly misplaced; but it's actually not
needed at all for pg_regress.o, rather regress.o, so move it to be a
prerequisite of that.

Back-patch to 9.6 where submake-generated-headers was introduced
(by commit 548af97fc).  It's not immediately clear to me why the
previous coding didn't have the same issue; but since we've not
had field reports of plpython make failing, leave it alone in the
older branches.

Pavel Raiskup and Tom Lane

Discussion: <1925924.izSMJEZO3x@unused-4-107.brq.redhat.com>
2016-10-01 13:35:13 -04:00
..
data Improve key representation for GIN jsonb_ops, and fix existence-search bug. 2014-05-09 08:41:26 -04:00
expected Make to_timestamp() and to_date() range-check fields of their input. 2016-09-28 14:36:17 -04:00
input Remove user_relns() SRF from regression tests. 2016-09-12 19:37:16 -07:00
output Remove user_relns() SRF from regression tests. 2016-09-12 19:37:16 -07:00
sql Make to_timestamp() and to_date() range-check fields of their input. 2016-09-28 14:36:17 -04:00
.gitignore Update .gitignore for config.cache. 2014-12-18 19:56:42 +09:00
GNUmakefile Fix misplacement of submake-generated-headers prerequisites. 2016-10-01 13:35:13 -04:00
Makefile Remove remains of old depend target. 2007-01-20 17:16:17 +00:00
README Don't generate plain-text HISTORY and src/test/regress/README anymore. 2014-02-10 20:48:04 -05:00
parallel_schedule Add more tests for targetlist SRFs. 2016-09-12 17:27:47 -07:00
pg_regress.c Set log_line_prefix and application name in test drivers 2016-09-30 21:32:33 -04:00
pg_regress.h Update copyright for 2016 2016-01-02 13:33:40 -05:00
pg_regress_main.c Set log_line_prefix and application name in test drivers 2016-09-30 21:32:33 -04:00
regress.c Widen query numbers-of-tuples-processed counters to uint64. 2016-03-12 16:05:29 -05: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 Add more tests for targetlist SRFs. 2016-09-12 17:27:47 -07: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".