pgsql: pg_waldump: Allow hexadecimal values for -t/--timeline option - Mailing list pgsql-committers

From Peter Eisentraut
Subject pgsql: pg_waldump: Allow hexadecimal values for -t/--timeline option
Date
Msg-id E1peW9A-004c56-7l@gemulon.postgresql.org
Whole thread Raw
List pgsql-committers
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

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/4c8044c04455fe87dadefa4f7c69bfe6cdbe3cc5

Modified Files
--------------
doc/src/sgml/ref/pg_waldump.sgml |  3 ++-
src/bin/pg_waldump/pg_waldump.c  | 37 +++++++++++++++++++++++++++++++++----
2 files changed, 35 insertions(+), 5 deletions(-)


pgsql-committers by date:

Previous
From: Amit Kapila
Date:
Subject: pgsql: Ignore dropped columns during apply of update/delete.
Next
From: Daniel Gustafsson
Date:
Subject: pgsql: Avoid using atooid for numerical comparisons which arent Oids