Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: postgresql-cfbot/postgresql
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: cf/5714~1
Choose a base ref
...
head repository: postgresql-cfbot/postgresql
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: cf/5714
Choose a head ref
  • 2 commits
  • 9 files changed
  • 2 contributors

Commits on Aug 9, 2025

  1. Allow to collect statistics on virtual generated columns

    During ANALYZE, generation expressions are expanded, and statistics are
    computed using compute_expr_stats(). To support this, both compute_expr_stats()
    and AnlExprData are now exported from extended_stats.c.
    
    To enable the optimizer to make use of these statistics, a new field named
    virtual_gencols is added to RelOptInfo. This field holds the expressions of
    virtual generated columns in the table. In examine_variable(), if an
    expression in a WHERE clause matches a virtual generated column, the
    corresponding statistics are used for that expression.
    yugo-n authored and Commitfest Bot committed Aug 9, 2025
    Configuration menu
    Copy the full SHA
    81d03ef View commit details
    Browse the repository at this point in the history
  2. [CF 5714] v2 - Allow to collect statistics on virtual generated columns

    This branch was automatically generated by a robot using patches from an
    email thread registered at:
    
    https://commitfest.postgresql.org/patch/5714
    
    The branch will be overwritten each time a new patch version is posted to
    the thread, and also periodically to check for bitrot caused by changes
    on the master branch.
    
    Patch(es): https://www.postgresql.org/message-id/[email protected]
    Author(s): Yugo Nagata
    Commitfest Bot committed Aug 9, 2025
    Configuration menu
    Copy the full SHA
    bcfa0f9 View commit details
    Browse the repository at this point in the history
Loading