Content-Length: 256744 | pFad | http://github.com/postgrespro/postgres/commit/9625845532ae03e7da3fc8fc592c6ec333b93166

D8 pg_upgrade: Bump MESSAGE_WIDTH. · postgrespro/postgres@9625845 · GitHub
Skip to content

Commit 9625845

Browse files
pg_upgrade: Bump MESSAGE_WIDTH.
Commit 7b37823 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
1 parent d8b2fcc commit 9625845

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/bin/pg_upgrade/pg_upgrade.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@
2222
#define MAX_STRING 1024
2323
#define QUERY_ALLOC 8192
2424

25-
#define MESSAGE_WIDTH 60
25+
#define MESSAGE_WIDTH 62
2626

2727
#define GET_MAJOR_VERSION(v) ((v) / 100)
2828

0 commit comments

Comments
 (0)








ApplySandwichStrip

pFad - (p)hone/(F)rame/(a)nonymizer/(d)eclutterfier!      Saves Data!


--- a PPN by Garber Painting Akron. With Image Size Reduction included!

Fetched URL: http://github.com/postgrespro/postgres/commit/9625845532ae03e7da3fc8fc592c6ec333b93166

Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy