- 
                Notifications
    You must be signed in to change notification settings 
- Fork 2
Comparing changes
Open a pull request
base repository: postgresql-cfbot/postgresql
base: cf/5955~1
head repository: postgresql-cfbot/postgresql
compare: cf/5955
- 9 commits
- 28 files changed
- 2 contributors
Commits on Oct 29, 2025
- 
  Refactor: pg_waldump: Move some declarations to new pg_waldump.h This change prepares for a second source file in this directory to support reading WAL from tar files. Common structures, declarations, and functions are being exported through this include file so they can be used in both files. Configuration menu - View commit details
- 
    
    
    Copy full SHA for c10d427 
- Browse repository at this point
 Copy the full SHA c10d427View commit details 
- 
  Refactor: pg_waldump: Separate logic used to calculate the required r… …ead size. This refactoring prepares the codebase for an upcoming patch that will support reading WAL from tar files. The logic for calculating the required read size has been updated to handle both normal WAL files and WAL files located inside a tar archive. Configuration menu - View commit details
- 
    
    
    Copy full SHA for cb2a53d 
- Browse repository at this point
 Copy the full SHA cb2a53dView commit details 
- 
  Refactor: pg_waldump: Restructure TAP tests. Restructured some tests to run inside a loop, facilitating their re-execution for decoding WAL from tar archives. Configuration menu - View commit details
- 
    
    
    Copy full SHA for 7c150b6 
- Browse repository at this point
 Copy the full SHA 7c150b6View commit details 
- 
  pg_waldump: Add support for archived WAL decoding. pg_waldump can now accept the path to a tar archive containing WAL files and decode them. This feature was added primarily for pg_verifybackup, which previously disabled WAL parsing for tar-formatted backups. Note that this patch requires that the WAL files within the archive be in sequential order; an error will be reported otherwise. The next patch is planned to remove this restriction. Configuration menu - View commit details
- 
    
    
    Copy full SHA for 6bc83e0 
- Browse repository at this point
 Copy the full SHA 6bc83e0View commit details 
- 
  pg_waldump: Remove the restriction on the order of archived WAL files. With previous patch, pg_waldump would stop decoding if WAL files were not in the required sequence. With this patch, decoding will now continue. Any WAL file that is out of order will be written to a temporary location, from which it will be read later. Once a temporary file has been read, it will be removed. Configuration menu - View commit details
- 
    
    
    Copy full SHA for ac3499d 
- Browse repository at this point
 Copy the full SHA ac3499dView commit details 
- 
  pg_verifybackup: Delay default WAL directory preparation. We are not sure whether to parse WAL from a directory or an archive until the backup format is known. Therefore, we delay preparing the default WAL directory until the point of parsing. This delay is harmless, as the WAL directory is not used elsewhere. Configuration menu - View commit details
- 
    
    
    Copy full SHA for 1024432 
- Browse repository at this point
 Copy the full SHA 1024432View commit details 
- 
  pg_verifybackup: Rename the wal-directory switch to wal-path With previous patches to pg_waldump can now decode WAL directly from tar files. This means you'll be able to specify a tar archive path instead of a traditional WAL directory. To keep things consistent and more versatile, we should also generalize the input switch for pg_verifybackup. It should accept either a directory or a tar file path that contains WALs. This change will also aligning it with the existing manifest-path switch naming. Configuration menu - View commit details
- 
    
    
    Copy full SHA for 048af8c 
- Browse repository at this point
 Copy the full SHA 048af8cView commit details 
- 
  pg_verifybackup: enabled WAL parsing for tar-format backup Now that pg_waldump supports decoding from tar archives, we should leverage this functionality to remove the previous restriction on WAL parsing for tar-backed formats. Configuration menu - View commit details
- 
    
    
    Copy full SHA for 38d2e5e 
- Browse repository at this point
 Copy the full SHA 38d2e5eView commit details 
- 
  [CF 5955] v4 - pg_waldump: support decoding of WAL inside tarfile This branch was automatically generated by a robot using patches from an email thread registered at: https://commitfest.postgresql.org/patch/5955 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/CAAJ_b94Uh+b41LQG45bZFK+i62EVvv972LiGWWWuR64=-64rTQ@mail.gmail.com Author(s): Amul Sul Commitfest Bot committedOct 29, 2025 Configuration menu - View commit details
- 
    
    
    Copy full SHA for 8c8e22c 
- Browse repository at this point
 Copy the full SHA 8c8e22cView commit details 
This comparison is taking too long to generate.
Unfortunately it looks like we can’t render this comparison for you right now. It might be too big, or there might be something weird with your repository.
            You can try running this command locally to see the comparison on your machine: 
            git diff cf/5955~1...cf/5955