On Fri, Aug 19, 2011 at 12:04 PM, alexondi <alexondi(at)rambler(dot)ru> wrote:
> but if I don't have any slave at this time why my command hang?
Setting synchronous_standby_names means "wait until my standby replies".
If you don't have a standby, then you just made a request to wait for
a long time.
Suggest different approach.
--
Simon Riggs http://www.2ndQuadrant.com/
PostgreSQL Development, 24x7 Support, Training & Services