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/6040~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/6040
Choose a head ref
  • 2 commits
  • 1 file changed
  • 2 contributors

Commits on Sep 22, 2025

  1. Try to handle torn reads of pg_control in sub postmaster processes.

    The same problem was fixed in 63a5822,
    but for frontends. Current commit is fixing this problem for cases
    when pg_control file is read by fork/exec'd processes.
    
    There can be race between process, that replays WAL on start and
    update control file and other sub-processes that read control file
    and were started with exec. As the result sub-processes can read
    partially updated file with incorrect crc. The reason is that
    LocalProcessControlFile don't acquire ControlFileLock and it can't
    do it.
    
    Current patch is just copy-paste of changes, applied for frontends,
    with little adaptation.
    manaldush authored and Commitfest Bot committed Sep 22, 2025
    Configuration menu
    Copy the full SHA
    52d30e2 View commit details
    Browse the repository at this point in the history
  2. [CF 6040] v1 - Fix read/write races with pg_control file in case when…

    … postgres was compiled with DEXEC_BACKEND option
    
    This branch was automatically generated by a robot using patches from an
    email thread registered at:
    
    https://commitfest.postgresql.org/patch/6040
    
    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): Maksim Melnikov
    Commitfest Bot committed Sep 22, 2025
    Configuration menu
    Copy the full SHA
    3d3cca2 View commit details
    Browse the repository at this point in the history
Loading