Sorry, my code was wrong in the case that the total numer of synchronous standby exceeds required number and the wansender is at priority 1.
Sorry for the noise. At Wed, 06 Apr 2016 17:01:51 +0900 (Tokyo Standard Time), Kyotaro HORIGUCHI <horiguchi.kyot...@lab.ntt.co.jp> wrote in <20160406.170151.246853881.horiguchi.kyot...@lab.ntt.co.jp> > You must misread the patch. am_sync is originally set in the loop > just after that for the case. regards, -- Kyotaro Horiguchi NTT Open Source Software Center -- Sent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-hackers