pg_basebackup: Correct type of WalSegSz
Peter Eisentraut <peter@eisentraut.org>
pg_basebackup: Correct type of WalSegSz The pg_basebackup code had WalSegSz as uint32, whereas the rest of the code has it as int. This seems confusing, and using the extra range wouldn't actually work. Reviewed-by: Daniel Gustafsson <daniel@yesql.se> Discussion: https://www.postgresql.org/message-id/flat/1bf15c7a-0acd-1864-081e-7a28814310fe%40enterprisedb.com
Files
| Path | Change | +/− |
|---|---|---|
| src/bin/pg_basebackup/streamutil.c | modified | +1 −1 |
| src/bin/pg_basebackup/streamutil.h | modified | +1 −1 |
Discussion
- pg_basebackup: Correct type of WalSegSz 2 messages · 2023-03-30 → 2023-03-31