-
-
Notifications
You must be signed in to change notification settings - Fork 4.8k
pg_archivecleanup: add page #18486
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
dmmqz
merged 12 commits into
tldr-pages:main
from
fabioperrella:pg_archivecleanup-add-page
Oct 6, 2025
+24
−0
Merged
pg_archivecleanup: add page #18486
Changes from 10 commits
Commits
Show all changes
12 commits
Select commit
Hold shift + click to select a range
486daa4
pg_archivecleanup: add page
fabioperrella 092d0ee
Merge branch 'main' into pg_archivecleanup-add-page
Managor 7371711
Update pages/common/pg_archivecleanup.md
fabioperrella 710a12d
Update pages/common/pg_archivecleanup.md
fabioperrella 9785c65
Update pages/common/pg_archivecleanup.md
fabioperrella c5d4ff5
Update pages/common/pg_archivecleanup.md
fabioperrella 545d730
Update pages/common/pg_archivecleanup.md
fabioperrella aa00ad8
Update pages/common/pg_archivecleanup.md
fabioperrella e7b3e00
Update pages/common/pg_archivecleanup.md
fabioperrella c7ee15d
Merge branch 'main' into pg_archivecleanup-add-page
fabioperrella e66a6b1
Update pages/common/pg_archivecleanup.md
fabioperrella 1fe8c52
Merge branch 'main' into pg_archivecleanup-add-page
fabioperrella File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
# pg_archivecleanup | ||
|
||
> Remove old WAL archive files in PostgreSQL. | ||
> More information: <https://www.postgresql.org/docs/current/pgarchivecleanup.html>. | ||
|
||
- Clean an archive directory up to a given WAL file: | ||
|
||
`pg_archivecleanup {{path/to/archive}} {{path/to/walfile}}` | ||
|
||
- Perform a dry run (list files that would be removed): | ||
|
||
`pg_archivecleanup {{[-n|--dry-run]}} {{path/to/archive}} {{path/to/walfile}}` | ||
|
||
- Strip a file extension before deciding deletion: | ||
|
||
`pg_archivecleanup {{[-x|--strip-extension]}} {{extension}} {{path/to/archive}} {{path/to/walfile}}` | ||
|
||
- Remove backup history files too: | ||
|
||
`pg_archivecleanup {{[-b|--clean-backup-history]}} {{path/to/archive}} {{path/to/walfile}}` | ||
|
||
- Enable debug logging output: | ||
|
||
`pg_archivecleanup {{[-d|--debug]}} {{path/to/archive}} {{path/to/walfile}}` |
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.