citus/src/test/regress/citus_tests
Naisila Puka a18040869a
Error out for queries with outer joins and pseudoconstant quals in PG<17 (#7937)
PG15 commit d1ef5631e620f9a5b6480a32bb70124c857af4f1
and PG16 commit 695f5deb7902865901eb2d50a70523af655c3a00
disallow replacing joins with scans in queries with pseudoconstant quals.
This commit prevents the set_join_pathlist_hook from being called
if any of the join restrictions is a pseudo-constant.
So in these cases, citus has no info on the join, never sees that
the query has an outer join, and ends up producing an incorrect plan.
PG17 fixes this by commit 9e9931d2bf40e2fea447d779c2e133c2c1256ef3
Therefore, we take this extra measure here for PG versions less than 17.
hasOuterJoin can never be true when set_join_pathlist_hook is absent.
2025-05-11 21:47:28 +00:00
..
arbitrary_configs Call null-shard-key tables as single-shard distributed tables in code 2023-05-03 17:02:43 +03:00
query_generator Query Generator Seed (#6883) 2023-05-03 15:54:11 +03:00
test Disable nonmaindb interface (#7905) 2025-02-21 13:36:19 +03:00
upgrade Fix Deadlock with transaction recovery is possible during Citus upgrades (#7910) 2025-03-12 12:43:01 +03:00
__init__.py Add an infrastructure to run same tests with arbitrary configs (#5316) 2021-10-12 14:24:19 +03:00
common.py Bump Citus version to 13.0.1 (#7872) 2025-03-12 12:43:01 +03:00
config.py Bump Citus into 13.1devel 2025-03-13 15:13:56 +03:00
print_test_names.py Increase parallelism 2021-10-19 15:38:58 +03:00
run_test.py Error out for queries with outer joins and pseudoconstant quals in PG<17 (#7937) 2025-05-11 21:47:28 +00:00
utils.py Run python files through isort 2023-02-10 13:05:37 +01:00