Re: [HACKERS] invalid number of sync standbys in synchronous_standby_names - Mailing list pgsql-hackers

From Tom Lane
Subject Re: [HACKERS] invalid number of sync standbys in synchronous_standby_names
Date
Msg-id 11976.1481904016@sss.pgh.pa.us
Whole thread Raw
In response to [HACKERS] invalid number of sync standbys in synchronous_standby_names  (Fujii Masao <masao.fujii@gmail.com>)
Responses Re: [HACKERS] invalid number of sync standbys in synchronous_standby_names  (Fujii Masao <masao.fujii@gmail.com>)
List pgsql-hackers
Fujii Masao <masao.fujii@gmail.com> writes:
> When the number of sync standbys is set to 0 in s_s_names, the assersion
> failure happens as follows. This means that current multiple syncrep code
> assumes that the num of sync standbys must be greater than 0. But we forgot
> to forbid users from setting that num to 0. This is an oversight in multiple
> syncrep patch (so my fault...). Attached patch forbits that.

Ooops.  Patch looks fine to me.
        regards, tom lane



pgsql-hackers by date:

Previous
From: Robert Haas
Date:
Subject: Re: [HACKERS] Linear vs. nonlinear planner cost estimates
Next
From: Robert Haas
Date:
Subject: Re: [HACKERS] Declarative partitioning vs. sql_inheritance