postgresql/src/test
Tom Lane de0227d8ae Fix old oversight in join removal logic.
Commit 9e7e29c75a introduced an Assert that
join removal didn't reduce the eval_at set of any PlaceHolderVar to empty.
At first glance it looks like join_is_removable ensures that's true --- but
actually, the loop in join_is_removable skips PlaceHolderVars that are not
referenced above the join due to be removed.  So, if we don't want any
empty eval_at sets, the right thing to do is to delete any now-unreferenced
PlaceHolderVars from the data structure entirely.

Per fuzz testing by Andreas Seltenreich.  Back-patch to 9.3 where the
aforesaid Assert was added.
2015-08-06 22:14:28 -04:00
..
examples Fix up .gitignore and cleanup actions in some src/test/ subdirectories. 2015-04-24 17:13:06 -04:00
isolation Fix BRIN to use SnapshotAny during summarization 2015-08-05 16:20:50 -03:00
locale Fix up .gitignore and cleanup actions in some src/test/ subdirectories. 2015-04-24 17:13:06 -04:00
mb Fix outdated src/test/mb/ tests, and add a GB18030 test. 2015-05-15 13:47:42 -04:00
modules RLS: Keep deny policy when only restrictive exist 2015-08-03 15:32:58 -04:00
perl Make tap tests store postmaster logs and handle vpaths correctly 2015-07-28 16:04:05 -04:00
regress Fix old oversight in join removal logic. 2015-08-06 22:14:28 -04:00
ssl Improve logging of TAP tests. 2015-07-28 12:22:21 -04:00
thread Fix up .gitignore and cleanup actions in some src/test/ subdirectories. 2015-04-24 17:13:06 -04:00
Makefile Fix up .gitignore and cleanup actions in some src/test/ subdirectories. 2015-04-24 17:13:06 -04:00