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

Commits on Sep 13, 2025

  1. Add support for entry counting in pgstats

    Stats kinds can set an option call track_counts, that will make pgstats
    track the number of entries that exist in the shared hashtable.
    
    As there is only one code path where a new entry is added, and one code
    path where entries are removed, the count tracking is rather
    straight-forward.  Reads of these counters are optimistic, and may
    change across two calls.
    
    A use case of this facility is PGSS, where we need to be able to cap the
    number of entries that would be stored in the shared hashtable, based on
    its "max" GUC.
    michaelpq authored and Commitfest Bot committed Sep 13, 2025
    Configuration menu
    Copy the full SHA
    66df5e7 View commit details
    Browse the repository at this point in the history
  2. injection_points: Add entry counting

    This serves as coverage for the track_counts, as other in-core stats
    kinds do not need to cap their maximum.
    michaelpq authored and Commitfest Bot committed Sep 13, 2025
    Configuration menu
    Copy the full SHA
    befbd8c View commit details
    Browse the repository at this point in the history
  3. [CF 6052] Add support for entry counting in pgstats

    This branch was automatically generated by a robot using patches from an
    email thread registered at:
    
    https://commitfest.postgresql.org/patch/6052
    
    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/aMPKWR81KT5UXvEr@paquier.xyz
    Author(s): Michael Paquier
    Commitfest Bot committed Sep 13, 2025
    Configuration menu
    Copy the full SHA
    3f75441 View commit details
    Browse the repository at this point in the history
Loading