pg_waldump: Allow hexadecimal values for -t/--timeline option
Peter Eisentraut <peter@eisentraut.org>
pg_waldump: Allow hexadecimal values for -t/--timeline option This makes it easier to specify values taken directly from WAL file names. The option parsing is arranged in the style of option_parse_int() (but we need to parse unsigned int), to allow future refactoring in the same manner. Reviewed-by: Sébastien Lardière <sebastien@lardiere.net> Discussion: https://www.postgresql.org/message-id/flat/8fef346e-2541-76c3-d768-6536ae052993@lardiere.net
Files
| Path | Change | +/− |
|---|---|---|
| doc/src/sgml/ref/pg_waldump.sgml | modified | +2 −1 |
| src/bin/pg_waldump/pg_waldump.c | modified | +33 −4 |
Documentation touched
Discussion
- Timeline ID hexadecimal format 20 messages · 2023-01-27 → 2023-03-21