aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorBruce Momjian <bruce@momjian.us>2020-10-15 15:15:29 -0400
committerBruce Momjian <bruce@momjian.us>2020-10-15 15:15:29 -0400
commita97e85f2be400a08d863c1d65f172eb48af3e9b5 (patch)
tree7778baca6ccd2d0c1acc3d96dcb287da6365544e /src
parent93f84d59f80d11a3d8ade9ae71560162d6f3ecb2 (diff)
downloadpostgresql-a97e85f2be400a08d863c1d65f172eb48af3e9b5.tar.gz
postgresql-a97e85f2be400a08d863c1d65f172eb48af3e9b5.zip
doc: improve description of synchronous_commit modes
Previously it wasn't clear exactly what each of the synchronous_commit modes accomplished. This clarifies that, and adds a table describing it. Only backpatched through 9.6 since 9.5 doesn't have all the options. Reported-by: kghost0@gmail.com Discussion: https://postgr.es/m/159741195522.14321.13812604195366728976@wrigleys.postgresql.org Backpatch-through: 9.6
Diffstat (limited to 'src')
-rw-r--r--src/include/access/xact.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/include/access/xact.h b/src/include/access/xact.h
index df1b43a932e..7320de345c9 100644
--- a/src/include/access/xact.h
+++ b/src/include/access/xact.h
@@ -72,7 +72,8 @@ typedef enum
SYNCHRONOUS_COMMIT_REMOTE_WRITE, /* wait for local flush and remote
* write */
SYNCHRONOUS_COMMIT_REMOTE_FLUSH, /* wait for local and remote flush */
- SYNCHRONOUS_COMMIT_REMOTE_APPLY /* wait for local flush and remote apply */
+ SYNCHRONOUS_COMMIT_REMOTE_APPLY /* wait for local and remote flush
+ and remote apply */
} SyncCommitLevel;
/* Define the default setting for synchronous_commit */