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

Commits on Jul 2, 2025

  1. Add InjectionPointList() to retrieve list of injection points

    This hides the internals of the shmem array lookup, allocating the
    result in a palloc'd array usable by the caller.
    michaelpq authored and Commitfest Bot committed Jul 2, 2025
    Configuration menu
    Copy the full SHA
    74c2c90 View commit details
    Browse the repository at this point in the history
  2. injection_points: Add function to flush injection point data to disk

    The function injection_points_flush() can be called in a session to
    persist to disk all the injection points currently attached to the
    cluster.  These are saved in file called injection_points.data at the
    root of PGDATA, and loaded by the cluster at startup with all the points
    registered automatically attached.
    
    This will be useful to test scenarios where injection points need to be
    for example attached at very early stages of startup, before it is
    possible to attach anything via SQL.
    michaelpq authored and Commitfest Bot committed Jul 2, 2025
    Configuration menu
    Copy the full SHA
    674819c View commit details
    Browse the repository at this point in the history
  3. Add regression test for 2PC visibility check on standby

    This adds some test coverage for a defect fixed in 2e57790, where
    the only reliable test back then was to use a hardcoded sleep().
    
    This test relies on an injection point that is persisted across a node
    restart, so as it is possible to cause the checkpointer to wait when
    configuring the shared memory state of shared_preload_libraries at a
    very early startup stage.
    
    Reverting 2e57790 causes the test to fail, and it passes on HEAD.
    michaelpq authored and Commitfest Bot committed Jul 2, 2025
    Configuration menu
    Copy the full SHA
    964aa44 View commit details
    Browse the repository at this point in the history
  4. [CF 5731] v3 - Persist injection points across server restarts

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