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

Commit19584ec

Browse files
committed
Remove synchronous_replication/max_wal_senders cross-check.
This is no longer necessary, and might result in a situation where theconfiguration file is reloaded (and everything seems OK) but a subsequentrestart of the database fails.Per an observation from Fujii Masao.
1 parentb98ac46 commit19584ec

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

‎src/backend/postmaster/postmaster.c

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -735,9 +735,6 @@ PostmasterMain(int argc, char *argv[])
735735
if (max_wal_senders>0&&wal_level==WAL_LEVEL_MINIMAL)
736736
ereport(ERROR,
737737
(errmsg("WAL streaming (max_wal_senders > 0) requires wal_level \"archive\" or \"hot_standby\"")));
738-
if (strlen(SyncRepStandbyNames)>0&&max_wal_senders==0)
739-
ereport(ERROR,
740-
(errmsg("synchronous replication requires WAL streaming (max_wal_senders > 0)")));
741738

742739
/*
743740
* Other one-time internal sanity checks can go here, if they are fast.

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp