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

Commits on Nov 13, 2025

  1. Add pg_get_multixact_stats() function for monitoring MultiXact usage

    Expose multixact state via a new SQL-callable function pg_get_multixact_stats(),
    returning:
    - num_mxids          : number of MultiXact IDs in use
    - num_members        : number of member entries in use
    - members_size       : bytes used by num_members in pg_multixact/members directory
    - oldest_multixact   : oldest MultiXact ID still needed
    
    This patch adds pg_get_multixact_stats() function
       - SQL-callable interface to GetMultiXactInfo()
       - Returns NULLs if MultiXact system not initialized
       - Includes isolation tests for monitoring invariants
    
    Documentation updates:
    - func-info.sgml: add function entry
    - maintenance.sgml: mention monitoring multixact usage
    
    Build and catalog:
    - Add function to existing multixactfuncs.c
    - pg_proc.dat entry
    
    Author: Naga Appani <[email protected]>
    Reviewed-by: Ashutosh Bapat <[email protected]>
    Reviewed-by: Michael Paquier <[email protected]>
    Discussion: https://www.postgresql.org/message-id/flat/CA%2BQeY%2BAAsYK6WvBW4qYzHz4bahHycDAY_q5ECmHkEV_eB9ckzg%40mail.gmail.com
    Naga Appani authored and Commitfest Bot committed Nov 13, 2025
    Configuration menu
    Copy the full SHA
    f19ca6e View commit details
    Browse the repository at this point in the history
  2. [CF 5811] v11 - Expose internal MultiXact member count function for e…

    …fficient monitoring
    
    This branch was automatically generated by a robot using patches from an
    email thread registered at:
    
    https://commitfest.postgresql.org/patch/5811
    
    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/CA+QeY+Aja_=j1EuY87L06KaPO4EJqqkS4B+Vg9AsWnGM1d_VRA@mail.gmail.com
    Author(s): Naga Appani
    Commitfest Bot committed Nov 13, 2025
    Configuration menu
    Copy the full SHA
    288644e View commit details
    Browse the repository at this point in the history
Loading