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

Commits on Aug 8, 2025

  1. Add lock statistics

    Adding a new stat kind PGSTAT_KIND_LOCK for the lock statistics.
    
    This new statistic kind is a fixed one because its key is the lock type
    so that we know its size is LOCKTAG_LAST_TYPE + 1.
    
    This statistic kind records the following counters:
    
    requests
    waits
    timeouts
    deadlock_timeouts
    deadlocks
    fastpath
    
    No extra details is added (like the ones, i.e relation oid, database oid, we
    can find in pg_locks). The idea is to provide an idea on what the locking
    behaviour looks like.
    
    XXX: Bump stat file format
    bdrouvotAWS authored and Commitfest Bot committed Aug 8, 2025
    Configuration menu
    Copy the full SHA
    9aa4b0d View commit details
    Browse the repository at this point in the history
  2. Add the pg_stat_lock view

    This new view reports lock statistics.
    
    This commit also adds documentation and a few tests.
    
    XXX: Bump catversion
    bdrouvotAWS authored and Commitfest Bot committed Aug 8, 2025
    Configuration menu
    Copy the full SHA
    7d439a0 View commit details
    Browse the repository at this point in the history
  3. [CF 5942] v1 - Adding locks statistics

    This branch was automatically generated by a robot using patches from an
    email thread registered at:
    
    https://commitfest.postgresql.org/patch/5942
    
    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): Bertrand Drouvot
    Commitfest Bot committed Aug 8, 2025
    Configuration menu
    Copy the full SHA
    b00543d View commit details
    Browse the repository at this point in the history
Loading