Update cheatsheets

This commit is contained in:
ivuorinen
2025-10-21 00:19:51 +00:00
parent c3f5e8d7ab
commit 8d00ec1c41
29 changed files with 728 additions and 15 deletions

View File

@@ -5,10 +5,14 @@ source: https://github.com/tldr-pages/tldr.git
---
# pg_waldump
> Display a human-readable rendering of the write-ahead log (WAL).
> Display a human-readable rendering of the write-ahead log (WAL) of a PostgreSQL database cluster.
> More information: <https://www.postgresql.org/docs/current/pgwaldump.html>.
- Basic invocation reading a WAL segment (or range):
- Display WAL records from a specific segment:
`pg_waldump {{start_segment}}`
- Display WAL records between two segments:
`pg_waldump {{start_segment}} {{end_segment}}`
@@ -16,14 +20,6 @@ source: https://github.com/tldr-pages/tldr.git
`pg_waldump {{start_segment}} {{end_segment}} {{[-p|--path]}} {{path}}`
- Start from a particular WAL location (LSN):
`pg_waldump {{start_segment}} {{end_segment}} {{[-s|--start]}} {{lsn}}`
- Stop at a particular WAL location (LSN):
`pg_waldump {{start_segment}} {{end_segment}} {{[-e|--end]}} {{lsn}}`
- Follow new WAL entries as they arrive:
`pg_waldump {{start_segment}} {{end_segment}} {{[-f|--follow]}}`
@@ -32,10 +28,14 @@ source: https://github.com/tldr-pages/tldr.git
`pg_waldump {{start_segment}} {{end_segment}} {{[-n|--limit]}} {{count}}`
- Quiet mode (suppress output except errors):
- Display summary statistics instead of individual records:
`pg_waldump {{start_segment}} {{end_segment}} {{[-q|--quiet]}}`
`pg_waldump {{start_segment}} {{end_segment}} {{[-z|--stats]}}`
- Filter by resource manager:
`pg_waldump {{start_segment}} {{end_segment}} {{[-r|--rmgr]}} {{rmgr_name}}`
- Display help:
`pg_waldump {{[-?|--help]}}`