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

Appearance settings

Commit 6a0b30f

Browse filesBrowse files
committed
In initdb, don't bother trying max_connections = 10.
The server won't actually start with that setting anymore, not since we raised the default max_wal_senders to 10. Per discussion, we don't wish to back down on that default, so instead raise the effective floor for max_connections (to 20). It's still possible to configure a smaller setting manually, but initdb won't set it that way. Since that change happened in v10, back-patch to v10. Kyotaro Horiguchi Discussion: https://postgr.es/m/20180209.170823.42008365.horiguchi.kyotaro@lab.ntt.co.jp
1 parent 4e0c743 commit 6a0b30f
Copy full SHA for 6a0b30f

File tree

Expand file treeCollapse file tree

1 file changed

+1
-1
lines changed
Filter options
Expand file treeCollapse file tree

1 file changed

+1
-1
lines changed

‎src/bin/initdb/initdb.c

Copy file name to clipboardExpand all lines: src/bin/initdb/initdb.c
+1-1Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -915,7 +915,7 @@ test_config_settings(void)
915915
#define MIN_BUFS_FOR_CONNS(nconns) ((nconns) * 10)
916916

917917
static const int trial_conns[] = {
918-
100, 50, 40, 30, 20, 10
918+
100, 50, 40, 30, 20
919919
};
920920
static const int trial_bufs[] = {
921921
16384, 8192, 4096, 3584, 3072, 2560, 2048, 1536,

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.