Set max_replication_slots when -s option is specified.
authorTatsuo Ishii <ishii@postgresql.org>
Thu, 26 Apr 2018 08:27:40 +0000 (17:27 +0900)
committerTatsuo Ishii <ishii@postgresql.org>
Thu, 26 Apr 2018 08:27:40 +0000 (17:27 +0900)
commitb3a361c049f5adb84d501538d28bd4f553e46362
tree3e44cb294fac2929266f43d37fe0d4e5b9425533
parent387c35b465da9f60ce3c90caf9836d7c17157a75
Set max_replication_slots when -s option is specified.

Older version of PostgreSQL sets max_replication_slots to 0, which
prevents PostgreSQL from starting up if replication slots are used.
So set max_replication_slots to "number of database clusters + 10".
This should be enough.
src/test/pgpool_setup