On Fri, Aug 19, 2011 at 12:04 PM, alexondi <alexondi@xxxxxxxxxx> 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 -- Sent via pgsql-general mailing list (pgsql-general@xxxxxxxxxxxxxx) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-general