pg_waldump: Remove file-level global WalSegSz.
Robert Haas <rhaas@postgresql.org>
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 <sulamul@gmail.com> Discussion: http://postgr.es/m/CAAJ_b94+wObPn-z1VECipnSFhjMJ+R2cpTmKVYLjyQuVn+B5QA@mail.gmail.com
Files
| Path | Change | +/− |
|---|---|---|
| src/bin/pg_waldump/pg_waldump.c | modified | +19 −18 |
Discussion
- pg_waldump: support decoding of WAL inside tarfile 126 messages · 2025-08-07 → 2026-04-15