23 lines
1.1 KiB
Plaintext
23 lines
1.1 KiB
Plaintext
pg_xlogdump decodes and displays PostgreSQL transaction logs for debugging.
|
|
|
|
Usage:
|
|
pg_xlogdump [OPTION]... [STARTSEG [ENDSEG]]
|
|
|
|
Options:
|
|
-b, --bkp-details output detailed information about backup blocks
|
|
-e, --end=RECPTR stop reading at log position RECPTR
|
|
-f, --follow keep retrying after reaching end of WAL
|
|
-n, --limit=N number of records to display
|
|
-p, --path=PATH directory in which to find log segment files
|
|
(default: ./pg_xlog)
|
|
-r, --rmgr=RMGR only show records generated by resource manager RMGR
|
|
use --rmgr=list to list valid resource manager names
|
|
-s, --start=RECPTR start reading at log position RECPTR
|
|
-t, --timeline=TLI timeline from which to read log records
|
|
(default: 1 or the value used in STARTSEG)
|
|
-V, --version output version information, then exit
|
|
-x, --xid=XID only show records with TransactionId XID
|
|
-z, --stats[=record] show statistics instead of records
|
|
(optionally, show per-record statistics)
|
|
-?, --help show this help, then exit
|