postgresql/contrib/pg_plan_advice/sql
Robert Haas 4321dcad47 pg_plan_advice: Fix another unique-semijoin bug.
This one occurs when an outer join appears beneath the made-unique
side of a semijoin. The issue is that join RTEs are not featured
out of sj_unique_rels entries. Fix, and add a test case.

Reported-by: Alexander Lakhin <exclusion@gmail.com>
Analyzed-by: Tender Wang <tndrwang@gmail.com>
Discussion: http://postgr.es/m/c0c63979-43c2-4424-8fe8-56949934c9d8@gmail.com
2026-04-17 14:08:37 -04:00
..
alternatives.sql pg_plan_advice: Invent DO_NOT_SCAN(relation_identifier). 2026-03-26 17:09:57 -04:00
gather.sql Add pg_plan_advice contrib module. 2026-03-12 13:00:43 -04:00
join_order.sql Add pg_plan_advice contrib module. 2026-03-12 13:00:43 -04:00
join_strategy.sql Add pg_plan_advice contrib module. 2026-03-12 13:00:43 -04:00
partitionwise.sql Add pg_plan_advice contrib module. 2026-03-12 13:00:43 -04:00
prepared.sql pg_plan_advice: Fix multiple copy-and-paste-errors in test case. 2026-03-18 18:24:39 -04:00
scan.sql pg_plan_advice: Handle non-repeatable TABLESAMPLE scans. 2026-04-13 08:46:25 -04:00
semijoin.sql pg_plan_advice: Fix another unique-semijoin bug. 2026-04-17 14:08:37 -04:00
syntax.sql pg_plan_advice: Fix failures to accept identifier keywords. 2026-03-16 14:46:50 -04:00