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

Commits on Aug 9, 2025

  1. Add pg_get_process_memory_context function

    This adds a function for retrieving memory context statistics
    and information from backends as well as auxiliary processes.
    The intended usecase is cluster debugging when under memory
    pressure or unanticipated memory usage characteristics.
    
    When calling the function it sends a signal to the specified
    process to submit statistics regarding its memory contexts
    into dynamic shared memory.  Each memory context is returned
    in detail, followed by a cumulative total in case the number
    of contexts exceed the max allocated amount of shared memory.
    Each process is limited to use at most 1Mb memory for this.
    
    A summary can also be explicitly requested by the user, this
    will return the TopMemoryContext and a cumulative total of
    all lower contexts.
    
    In order to not block on busy processes the caller specifies
    the number of seconds during which to retry before timing out.
    In the case where no statistics are published within the set
    timeout, NULL is returned.
    Rahila authored and Commitfest Bot committed Aug 9, 2025
    Configuration menu
    Copy the full SHA
    d286685 View commit details
    Browse the repository at this point in the history
  2. [CF 5938] v32 - Enhancing Memory Context Statistics Reporting

    This branch was automatically generated by a robot using patches from an
    email thread registered at:
    
    https://commitfest.postgresql.org/patch/5938
    
    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/CAH2L28t=O1k+5wdcP88rgty3OLZisTU72WGH8Dp2MxJjwn7=fw@mail.gmail.com
    Author(s): Rahila Syed
    Commitfest Bot committed Aug 9, 2025
    Configuration menu
    Copy the full SHA
    a6356b8 View commit details
    Browse the repository at this point in the history
Loading