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

Commit00b6b6f

Browse files
Allow --with-wal-segsize=n up to n=1024MB
Other part of Beena Emerson's patch to allow testing
1 parented770c3 commit00b6b6f

File tree

3 files changed

+11
-3
lines changed

3 files changed

+11
-3
lines changed

‎configure

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3725,7 +3725,11 @@ case ${wal_segsize} in
37253725
16) ;;
37263726
32) ;;
37273727
64) ;;
3728-
*) as_fn_error$?"Invalid WAL segment size. Allowed values are 1,2,4,8,16,32,64.""$LINENO" 5
3728+
128) ;;
3729+
256) ;;
3730+
512) ;;
3731+
1024) ;;
3732+
*) as_fn_error$?"Invalid WAL segment size. Allowed values are 1,2,4,8,16,32,64,128,256,512,1024.""$LINENO" 5
37293733
esac
37303734
{$as_echo"$as_me:${as_lineno-$LINENO}: result:${wal_segsize}MB">&5
37313735
$as_echo"${wal_segsize}MB">&6; }

‎configure.in

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -358,7 +358,11 @@ case ${wal_segsize} in
358358
16) ;;
359359
32) ;;
360360
64) ;;
361-
*) AC_MSG_ERROR([Invalid WAL segment size. Allowed values are 1,2,4,8,16,32,64.])
361+
128) ;;
362+
256) ;;
363+
512) ;;
364+
1024) ;;
365+
*) AC_MSG_ERROR([Invalid WAL segment size. Allowed values are 1,2,4,8,16,32,64,128,256,512,1024.])
362366
esac
363367
AC_MSG_RESULT([${wal_segsize}MB])
364368

‎doc/src/sgml/installation.sgml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1049,7 +1049,7 @@ su - postgres
10491049
the size of each individual file in the WAL log. It may be useful
10501050
to adjust this size to control the granularity of WAL log shipping.
10511051
The default size is 16 megabytes.
1052-
The value must be a power of 2 between 1 and64 (megabytes).
1052+
The value must be a power of 2 between 1 and1024 (megabytes).
10531053
Note that changing this value requires an initdb.
10541054
</para>
10551055
</listitem>

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp