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

Commits on Nov 14, 2025

  1. Fix WaitLSNWakeup() fast-path check for InvalidXLogRecPtr

    WaitLSNWakeup() incorrectly returned early when called with
    InvalidXLogRecPtr (meaning "wake all waiters"), because the fast-path
    check compared minWaitedLSN > 0 without validating currentLSN first.
    This caused WAIT FOR LSN commands to wait indefinitely during standby
    promotion until random signals woke them.
    
    Add XLogRecPtrIsValid() check before the comparison so InvalidXLogRecPtr
    bypasses the fast-path and wakes all waiters immediately.
    alterego655 authored and Commitfest Bot committed Nov 14, 2025
    Configuration menu
    Copy the full SHA
    6215cd9 View commit details
    Browse the repository at this point in the history
  2. Fix incorrect function name in comments

    Update comments to reference WaitForLSN() instead of the outdated
    WaitForLSNReplay() function name.
    alterego655 authored and Commitfest Bot committed Nov 14, 2025
    Configuration menu
    Copy the full SHA
    ab54a3c View commit details
    Browse the repository at this point in the history
  3. [CF 5550] v1 - Waiting for LSN replay with WAIT FOR command

    This branch was automatically generated by a robot using patches from an
    email thread registered at:
    
    https://commitfest.postgresql.org/patch/5550
    
    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/CABPTF7UieOYbOgH3EnQCasaqcT1T4N6V2wammwrWCohQTnD_Lw@mail.gmail.com
    Author(s): Alexander Korotkov, Xuneng Zhou
    Commitfest Bot committed Nov 14, 2025
    Configuration menu
    Copy the full SHA
    8f2cadf View commit details
    Browse the repository at this point in the history
Loading