Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit95fff2a

Browse files
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 instanceswhich used "power of 2" instead.Author: Kyotaro Horiguchi <horikyota.ntt@gmail.com>Discussion:https://postgr.es/m/20230829.175615.682972421946735863.horikyota.ntt@gmail.com
1 parent6844d32 commit95fff2a

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

‎src/bin/initdb/initdb.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3350,7 +3350,7 @@ main(int argc, char *argv[])
33503350
check_need_password(authmethodlocal,authmethodhost);
33513351

33523352
if (!IsValidWalSegSize(wal_segment_size_mb*1024*1024))
3353-
pg_fatal("argument of %s must be a power of2 between 1 and 1024","--wal-segsize");
3353+
pg_fatal("argument of %s must be a power oftwo between 1 and 1024","--wal-segsize");
33543354

33553355
get_restricted_token();
33563356

‎src/bin/pg_resetwal/pg_resetwal.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -298,7 +298,7 @@ main(int argc, char *argv[])
298298
exit(1);
299299
set_wal_segsize=wal_segsize_mb*1024*1024;
300300
if (!IsValidWalSegSize(set_wal_segsize))
301-
pg_fatal("argument of %s must be a power of2 between 1 and 1024","--wal-segsize");
301+
pg_fatal("argument of %s must be a power oftwo between 1 and 1024","--wal-segsize");
302302
break;
303303
}
304304

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp