Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
P
Postgres FD Implementation
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Abuhujair Javed
Postgres FD Implementation
Commits
00b6b6fe
Commit
00b6b6fe
authored
Apr 05, 2017
by
Simon Riggs
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Allow --with-wal-segsize=n up to n=1024MB
Other part of Beena Emerson's patch to allow testing
parent
ed770c32
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
11 additions
and
3 deletions
+11
-3
configure
configure
+5
-1
configure.in
configure.in
+5
-1
doc/src/sgml/installation.sgml
doc/src/sgml/installation.sgml
+1
-1
No files found.
configure
View file @
00b6b6fe
...
@@ -3725,7 +3725,11 @@ case ${wal_segsize} in
...
@@ -3725,7 +3725,11 @@ case ${wal_segsize} in
16
)
;;
16
)
;;
32
)
;;
32
)
;;
64
)
;;
64
)
;;
*
)
as_fn_error
$?
"Invalid WAL segment size. Allowed values are 1,2,4,8,16,32,64."
"
$LINENO
"
5
128
)
;;
256
)
;;
512
)
;;
1024
)
;;
*
)
as_fn_error
$?
"Invalid WAL segment size. Allowed values are 1,2,4,8,16,32,64,128,256,512,1024."
"
$LINENO
"
5
esac
esac
{
$as_echo
"
$as_me
:
${
as_lineno
-
$LINENO
}
: result:
${
wal_segsize
}
MB"
>
&5
{
$as_echo
"
$as_me
:
${
as_lineno
-
$LINENO
}
: result:
${
wal_segsize
}
MB"
>
&5
$as_echo
"
${
wal_segsize
}
MB"
>
&6
;
}
$as_echo
"
${
wal_segsize
}
MB"
>
&6
;
}
...
...
configure.in
View file @
00b6b6fe
...
@@ -358,7 +358,11 @@ case ${wal_segsize} in
...
@@ -358,7 +358,11 @@ case ${wal_segsize} in
16) ;;
16) ;;
32) ;;
32) ;;
64) ;;
64) ;;
*) AC_MSG_ERROR([Invalid WAL segment size. Allowed values are 1,2,4,8,16,32,64.])
128) ;;
256) ;;
512) ;;
1024) ;;
*) AC_MSG_ERROR([Invalid WAL segment size. Allowed values are 1,2,4,8,16,32,64,128,256,512,1024.])
esac
esac
AC_MSG_RESULT([${wal_segsize}MB])
AC_MSG_RESULT([${wal_segsize}MB])
...
...
doc/src/sgml/installation.sgml
View file @
00b6b6fe
...
@@ -1049,7 +1049,7 @@ su - postgres
...
@@ -1049,7 +1049,7 @@ su - postgres
the
size
of
each
individual
file
in
the
WAL
log
.
It
may
be
useful
the
size
of
each
individual
file
in
the
WAL
log
.
It
may
be
useful
to
adjust
this
size
to
control
the
granularity
of
WAL
log
shipping
.
to
adjust
this
size
to
control
the
granularity
of
WAL
log
shipping
.
The
default
size
is
16
megabytes
.
The
default
size
is
16
megabytes
.
The
value
must
be
a
power
of
2
between
1
and
6
4
(
megabytes
).
The
value
must
be
a
power
of
2
between
1
and
102
4
(
megabytes
).
Note
that
changing
this
value
requires
an
initdb
.
Note
that
changing
this
value
requires
an
initdb
.
</
para
>
</
para
>
</
listitem
>
</
listitem
>
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment