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
487b757b
Commit
487b757b
authored
Aug 09, 2005
by
Bruce Momjian
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Clarify wal_sync_method options in documentation.
parent
3117afa7
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
34 additions
and
9 deletions
+34
-9
doc/src/sgml/runtime.sgml
doc/src/sgml/runtime.sgml
+32
-7
src/interfaces/libpq/fe-connect.c
src/interfaces/libpq/fe-connect.c
+2
-2
No files found.
doc/src/sgml/runtime.sgml
View file @
487b757b
<!--
<!--
$PostgreSQL: pgsql/doc/src/sgml/runtime.sgml,v 1.34
1 2005/07/30 17:15:35
momjian Exp $
$PostgreSQL: pgsql/doc/src/sgml/runtime.sgml,v 1.34
2 2005/08/09 04:50:43
momjian Exp $
-->
-->
<chapter Id="runtime">
<chapter Id="runtime">
...
@@ -1724,13 +1724,38 @@ SET ENABLE_SEQSCAN TO OFF;
...
@@ -1724,13 +1724,38 @@ SET ENABLE_SEQSCAN TO OFF;
<listitem>
<listitem>
<para>
<para>
Method used for forcing WAL updates out to disk. Possible
Method used for forcing WAL updates out to disk. Possible
values are
values are:
<literal>fsync</> (call <function>fsync()</> at each commit),
</para>
<literal>fdatasync</> (call <function>fdatasync()</> at each commit),
<itemizedlist>
<literal>fsync_writethrough</> (force write-through of any disk write cache),
<listitem>
<literal>open_sync</> (write WAL files with <function>open()</> option <symbol>O_SYNC</>), and
<para>
<literal>open_datasync</> (write WAL files with <function>open()</> option <symbol>O_DSYNC</>).
<literal>open_datasync</> (write WAL files with <function>open()</> option <symbol>O_DSYNC</>)
</para>
</listitem>
<listitem>
<para>
<literal>fdatasync</> (call <function>fdatasync()</> at each commit),
</para>
</listitem>
<listitem>
<para>
<literal>fsync</> (call <function>fsync()</> at each commit)
</para>
</listitem>
<listitem>
<para>
<literal>open_sync</> (write WAL files with <function>open()</> option <symbol>O_SYNC</>)
</para>
</listitem>
<listitem>
<para>
<literal>fsync_writethrough</> (force write-through of any disk write cache)
</para>
</listitem>
</itemizedlist>
<para>
Not all of these choices are available on all platforms.
Not all of these choices are available on all platforms.
The top-most supported option is used as the default.
If <varname>fsync</varname> is off then this setting is irrelevant.
If <varname>fsync</varname> is off then this setting is irrelevant.
This option can only be set at server start or in the
This option can only be set at server start or in the
<filename>postgresql.conf</filename> file.
<filename>postgresql.conf</filename> file.
...
...
src/interfaces/libpq/fe-connect.c
View file @
487b757b
/*-------------------------------------------------------------------------
conninfo_parse
/*-------------------------------------------------------------------------
*
*
* fe-connect.c
* fe-connect.c
* functions related to setting up a connection to the backend
* functions related to setting up a connection to the backend
...
@@ -8,7 +8,7 @@
...
@@ -8,7 +8,7 @@
*
*
*
*
* IDENTIFICATION
* IDENTIFICATION
* $PostgreSQL: pgsql/src/interfaces/libpq/fe-connect.c,v 1.31
4 2005/07/13 15:25:55 tgl
Exp $
* $PostgreSQL: pgsql/src/interfaces/libpq/fe-connect.c,v 1.31
5 2005/08/09 04:50:44 momjian
Exp $
*
*
*-------------------------------------------------------------------------
*-------------------------------------------------------------------------
*/
*/
...
...
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