]> git.ipfire.org Git - thirdparty/postgresql.git/commit
pg_upgrade: Bump MESSAGE_WIDTH.
authorNathan Bossart <nathan@postgresql.org>
Thu, 24 Aug 2023 17:13:31 +0000 (10:13 -0700)
committerNathan Bossart <nathan@postgresql.org>
Thu, 24 Aug 2023 17:13:45 +0000 (10:13 -0700)
commit2e7d15ab69d91abc874f6b5d89df4d7c5a4f2c17
tree27de7926c8c46a3024352d69b51814d49f3adeb2
parentba0d737caa44d322c709c4d64e95de86b126f3e4
pg_upgrade: Bump MESSAGE_WIDTH.

Commit 7b378237aa added a status message to pg_upgrade that is 60
characters wide.  Since the MESSAGE_WIDTH macro is currently set to
60, there is no space between this new status message and the "ok"
or "failed" indicator appended when the step completes.  To fix
this problem, this commit increases the value of MESSAGE_WIDTH to
62.

Suggested-by: Bharath Rupireddy
Reviewed-by: Peter Eisentraut
Discussion: https://postgr.es/m/CALj2ACVVvk1cYLtWVxHv%3DZ1Ubq%3DUES9fhKbUU4c9k4W%2BfEDnbw%40mail.gmail.com
Backpatch-through: 16
src/bin/pg_upgrade/pg_upgrade.h