postgresql/src/test/regress
Tom Lane 51dfaa0b01 Remove bogus Assert and dead code in remove_useless_results_recurse().
The JOIN_SEMI case Assert'ed that there are no PlaceHolderVars that
need to be evaluated at the semijoin's RHS, which is wrong because
there could be some in the semijoin's qual condition.  However, there
could not be any references further up than that, and within the qual
there is not any way that such a PHV could have gone to null yet, so
we don't really need the PHV and there is no need to avoid making the
RHS-removal optimization.  The upshot is that there's no actual bug
in production code, and we ought to just remove this misguided Assert.

While we're here, also drop the JOIN_RIGHT case, which is dead code
because reduce_outer_joins() already got rid of JOIN_RIGHT.

Per bug #17700 from Xin Wen.  Uselessness of the JOIN_RIGHT case
pointed out by Richard Guo.  Back-patch to v12 where this code
was added.

Discussion: https://postgr.es/m/17700-2b5c10d917c30687@postgresql.org
2022-11-29 10:52:44 -05:00
..
data Fix full text search to handle NOT above a phrase search correctly. 2020-04-27 12:21:04 -04:00
expected Remove bogus Assert and dead code in remove_useless_results_recurse(). 2022-11-29 10:52:44 -05:00
sql Remove bogus Assert and dead code in remove_useless_results_recurse(). 2022-11-29 10:52:44 -05:00
.gitignore Fix inconsistencies and typos in the tree, take 10 2019-08-13 13:53:41 +09:00
GNUmakefile Refactor DLSUFFIX handling 2022-03-25 08:56:02 +01:00
Makefile Fix non-GNU makefiles for AIX make. 2017-11-30 00:57:22 -08:00
meson.build meson: Split 'main' suite into 'regress' and 'isolation' 2022-11-04 18:08:44 -07:00
parallel_schedule Put tests of md5() function into separate test file 2022-10-13 12:02:31 +02:00
pg_regress.c Use SIGNAL_ARGS consistently to declare signal handlers. 2022-09-14 14:44:50 -04:00
pg_regress.h regress: allow to specify directory containing expected files, for ecpg 2022-08-20 10:59:01 -07:00
pg_regress_main.c Update copyright for 2022 2022-01-07 19:04:57 -05:00
README Don't generate plain-text HISTORY and src/test/regress/README anymore. 2014-02-10 20:48:04 -05:00
regress.c Split up guc.c for better build speed and ease of maintenance. 2022-09-13 11:11:45 -04:00
regressplans.sh Fix inconsistencies in the code 2019-07-08 13:15:09 +09:00
resultmap Remove HP-UX port. 2022-07-08 14:05:05 +12:00

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