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/6106~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/6106
Choose a head ref
  • 2 commits
  • 4 files changed
  • 2 contributors

Commits on Oct 13, 2025

  1. refactor CreateStatsStmt

    move all CreateStatsStmt logic into CreateStatistics.
    Previously, CreateStatistics and ProcessUtilitySlow opened the same relation
    twice with a ShareUpdateExclusiveLock.  This refactor ensures the relation is
    opened with ShareUpdateExclusiveLock only once and also remove redundant error
    checks.
    
    in function: CreateStatsStmt we first error checking CreateStatsStmt->relations
    and then call transformStatsStmt to parse analysis CreateStatsStmt->exprs.
    
    discussion: https://postgr.es/m/CACJufxFcvo=fM6J9RC88n1U=eS9+5QdftwUNQMu5h7OgjmqDwQ@mail.gmail.com
    jianhe-fun authored and Commitfest Bot committed Oct 13, 2025
    Configuration menu
    Copy the full SHA
    948c444 View commit details
    Browse the repository at this point in the history
  2. [CF 6106] v5 - refactor CreateStatsStmt

    This branch was automatically generated by a robot using patches from an
    email thread registered at:
    
    https://commitfest.postgresql.org/patch/6106
    
    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/CACJufxGFtQR8D=L8xEP=0DCwiCmH4mr_XqKvgavPPRq7zC38-Q@mail.gmail.com
    Author(s): Jian He
    Commitfest Bot committed Oct 13, 2025
    Configuration menu
    Copy the full SHA
    52f80ff View commit details
    Browse the repository at this point in the history
Loading