pg_waldump: Remove file-level global WalSegSz. It's better style to pass the value around to just the places that need it. This makes it easier to determine whether the value is always properly initialized before use.
Reviewed-by: Amul Sul <[email protected]> Discussion: http://postgr.es/m/caaj_b94+wobpn-z1vecipnsfhjmj+r2cptmkvyljyquvn+b...@mail.gmail.com Branch ------ master Details ------- https://git.postgresql.org/pg/commitdiff/9a446d0256dc8f4afb4dba97734b46447c08d918 Modified Files -------------- src/bin/pg_waldump/pg_waldump.c | 37 +++++++++++++++++++------------------ 1 file changed, 19 insertions(+), 18 deletions(-)
