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

Commits on Sep 28, 2025

  1. Add GROUP BY ALL

    GROUP BY ALL is a form of GROUP BY that adds any TargetExpr that does
    not contain an aggregate or window function into the groupClause of
    the query, making it exactly equivalent to specifying those same
    expressions in an explicit GROUP BY list.
    
    This feature is useful for certain kinds of data exploration.  It's
    already present in some other DBMSes, and the SQL committee recently
    accepted it into the standard, so we can be reasonably confident in
    the syntax being stable.  We do have to invent part of the semantics,
    as the standard doesn't allow for expressions in GROUP BY, so they
    haven't specified what to do with window functions.  We assume that
    those should be treated like aggregates, i.e., left out of the
    constructed GROUP BY list.
    
    Author: David Christensen <[email protected]>
    Reviewed-by: Tom Lane <[email protected]>
    Discussion: https://postgr.es/m/CAHM0NXjz0kDwtzoe-fnHAqPB1qA8_VJN0XAmCgUZ+iPnvP5LbA@mail.gmail.com
    tglsfdc authored and Commitfest Bot committed Sep 28, 2025
    Configuration menu
    Copy the full SHA
    0138e81 View commit details
    Browse the repository at this point in the history
  2. [CF 6085] v7 - GROUP BY ALL

    This branch was automatically generated by a robot using patches from an
    email thread registered at:
    
    https://commitfest.postgresql.org/patch/6085
    
    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/CAHM0NXjJdKgTC91VegL_SruOBn_PQoeCime_DZkOA02HChPDmw@mail.gmail.com
    Author(s): David Christensen
    Commitfest Bot committed Sep 28, 2025
    Configuration menu
    Copy the full SHA
    9660fbe View commit details
    Browse the repository at this point in the history
Loading