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

Commits on Mar 10, 2025

  1. Improve EXPLAIN's display of window functions.

    Up to now we just punted on showing the window definitions used
    in a plan, with window function calls represented as "OVER (?)".
    To improve that, show the window definition implemented by each
    WindowAgg plan node, and reference their window names in OVER.
    For nameless window clauses generated by "OVER (...)", assign
    unique names w1, w2, etc.
    
    In passing, re-order the properties shown for a WindowAgg node
    so that the Run Condition (if any) appears after the Window
    property and before the Filter (if any).  This seems more
    sensible since the Run Condition is associated with the Window
    and acts before the Filter.
    
    Thanks to David G. Johnston and Álvaro Herrera for design
    suggestions.
    
    Author: Tom Lane <tgl@sss.pgh.pa.us>
    Reviewed-by: David Rowley <dgrowleyml@gmail.com>
    Discussion: https://postgr.es/m/144530.1741469955@sss.pgh.pa.us
    tglsfdc authored and Commitfest Bot committed Mar 10, 2025
    Configuration menu
    Copy the full SHA
    a0206db View commit details
    Browse the repository at this point in the history
  2. [CF 5640] v3 - Printing window function OVER clauses in EXPLAIN

    This branch was automatically generated by a robot using patches from an
    email thread registered at:
    
    https://commitfest.postgresql.org/patch/5640
    
    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/865427.1741623509@sss.pgh.pa.us
    Author(s): Tom Lane
    Commitfest Bot committed Mar 10, 2025
    Configuration menu
    Copy the full SHA
    1bd4fef View commit details
    Browse the repository at this point in the history
Loading