summaryrefslogtreecommitdiff
path: root/src/bin/initdb
diff options
context:
space:
mode:
authorDaniel Gustafsson2023-08-29 09:21:10 +0000
committerDaniel Gustafsson2023-08-29 09:21:10 +0000
commit95fff2abee66c16ca3609b3c1638cbd553730a90 (patch)
tree01b3d7d8f3a9fa94293c280f7ddec806ccff114c /src/bin/initdb
parent6844d3275ac6b3c35d824f49362d3fe59b30f26b (diff)
Reword user-facing message for "power of two"
While there are numerous instances of using "power of 2" in the code, translated user-facing messages use "power of two". Fix two instances which used "power of 2" instead. Author: Kyotaro Horiguchi <horikyota.ntt@gmail.com> Discussion: https://postgr.es/m/20230829.175615.682972421946735863.horikyota.ntt@gmail.com
Diffstat (limited to 'src/bin/initdb')
-rw-r--r--src/bin/initdb/initdb.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/bin/initdb/initdb.c b/src/bin/initdb/initdb.c
index c66467eb951..905b979947f 100644
--- a/src/bin/initdb/initdb.c
+++ b/src/bin/initdb/initdb.c
@@ -3350,7 +3350,7 @@ main(int argc, char *argv[])
check_need_password(authmethodlocal, authmethodhost);
if (!IsValidWalSegSize(wal_segment_size_mb * 1024 * 1024))
- pg_fatal("argument of %s must be a power of 2 between 1 and 1024", "--wal-segsize");
+ pg_fatal("argument of %s must be a power of two between 1 and 1024", "--wal-segsize");
get_restricted_token();