Minor bug fix for pg_stop_backup() to prevent it waiting longer thannecessary in certain circumstances.
Was originally part of recovery_infrastructure patch.
-- Simon Riggs www.2ndQuadrant.com PostgreSQL Training, Services and Support