Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

PG17 regress sanity: fix multi-1 diffs caused by PG17 optimizer enhancements #7769

Open
wants to merge 1 commit into
base: naisila/pg17_support
Choose a base branch
from

Commits on Nov 25, 2024

  1. PG17 regress sanity: fix diffs in multi_router_planner,

    multi_router_planner_fast_path and query_single_shard_table
    
    Restore the expected DEBUG error messages from the router planner.
    In the case of query_single_shard_table the diffs are because of
    PG17's ability to pull up correlated ANY subqueries (*). The fix
    is to inhibit pull up with a volatile function.
    
    In the case of multi_router_planner and multi_router_planner_fast_path
    the diffs are because of PG17's ability to remove redundant IS (NOT)
    NULL expressions (**). The fix is to adjust the table definition so
    the column used for distribution is not marked NOT NULL.
    
    (*) https://git.postgresql.org/gitweb/?p=postgresql.git;a=commitdiff;h=9f1337639
    (**) https://git.postgresql.org/gitweb/?p=postgresql.git;a=commitdiff;h=b262ad440
    colm-mchugh committed Nov 25, 2024
    Configuration menu
    Copy the full SHA
    41b873f View commit details
    Browse the repository at this point in the history