# This script runs the Postgres regression tests with all useful combinations # of the backend options that disable various query plan types. If the # results are not all the same, it may indicate a bug in a particular # plan type, or perhaps just a regression test whose results aren't fully # determinate (eg, due to lack of an ORDER BY keyword). # # Run this in the src/test/regress directory, after doing the usual setup # for a regular regression test, ie, "make clean all" (you should be ready # to do "make runtest"). # # The backend option switches that we use here are: # -fs disable sequential scans # -fi disable index scans # -fn disable nestloop joins # -fm disable merge joins # -fh disable hash joins # Only mergejoin and hashjoin are really guaranteed to turn off; the others # just bias the optimizer's cost calculations heavily against that choice. # There's no point in trying to turn off both scan types or all three join # types simultaneously; ergo, we have 3*7 = 21 interesting combinations. # # Note that this will take *more than* 21 times longer than a regular # regression test, since we are preventing the system from using the most # efficient available query plans! Have patience.
# Select make to use --- default 'make', can be overridden by env var MAKE="${MAKE:-make}"
# If PGOPTIONS is already defined, we'll add the -f switches to it.
PGOPTIONS="${PGOPTIONS:-}"
Die Informationen auf dieser Webseite wurden
nach bestem Wissen sorgfältig zusammengestellt. Es wird jedoch weder Vollständigkeit, noch Richtigkeit,
noch Qualität der bereit gestellten Informationen zugesichert.
Bemerkung:
Die farbliche Syntaxdarstellung und die Messung sind noch experimentell.