pgsql: pg_basebackup: Correct type of WalSegSz

From: Peter Eisentraut <peter(at)eisentraut(dot)org>
To: pgsql-committers(at)lists(dot)postgresql(dot)org
Subject: pgsql: pg_basebackup: Correct type of WalSegSz
Date: 2023-04-03 05:26:15
Message-ID: E1pjChq-0016jF-J7@gemulon.postgresql.org
Views: Whole Thread | Raw Message | Download mbox | Resend email
Thread:
Lists: pgsql-committers

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(at)yesql(dot)se>
Discussion: https://www.postgresql.org/message-id/flat/1bf15c7a-0acd-1864-081e-7a28814310fe%40enterprisedb.com

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/1980d3585e3c7fce74b811ca8d77733036cae76c

Modified Files
--------------
src/bin/pg_basebackup/streamutil.c | 2 +-
src/bin/pg_basebackup/streamutil.h | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)

Browse pgsql-committers by date

  From Date Subject
Next Message David Rowley 2023-04-03 07:20:24 pgsql: Only make buffer strategy for vacuum when it's likely needed
Previous Message David Rowley 2023-04-03 03:08:31 pgsql: Remove some global variables from vacuum.c