On Fri, Aug 19, 2011 at 8:04 PM, alexondi <alexondi(at)rambler(dot)ru> wrote:
> but if I don't have any slave at this time why my command hang?
Because there is no standby at that time ;)
If synchronous replication is enabled but there is no standby connecting
to the master, a write transaction waits until at least one synchronous
standby has appeared and its WAL has been replicated to it.
Regards,
--
Fujii Masao
NIPPON TELEGRAPH AND TELEPHONE CORPORATION
NTT Open Source Software Center