Re: pg_stop_backup wait bug fix - Mailing list pgsql-hackers

From Simon Riggs
Subject Re: pg_stop_backup wait bug fix
Date
Msg-id 1226139729.27904.211.camel@ebony.2ndQuadrant
Whole thread Raw
In response to Re: pg_stop_backup wait bug fix  (Alvaro Herrera <alvherre@commandprompt.com>)
List pgsql-hackers
On Fri, 2008-11-07 at 18:32 -0300, Alvaro Herrera wrote:
> Simon Riggs wrote:
> > Minor bug fix for pg_stop_backup() to prevent it waiting longer than
> > necessary in certain circumstances.
> 
> As far as I can tell, this patch needs to be applied to HEAD, 8.3 and
> 8.2 (when xlog switch was implemented), and in fact it applies cleanly
> to them.  Please confirm.

There are other patches that we should consider along with this one.

This particular patch only has meaning when applied with the changes to
pg_stop_backup() earlier in 8.4dev cycle. It isn't a bug in xlog switch,
it is a bug in how the new waiting code interprets the return value from
xlog switch.

-- Simon Riggs           www.2ndQuadrant.comPostgreSQL Training, Services and Support



pgsql-hackers by date:

Previous
From: Martin Pihlak
Date:
Subject: Re: auto_explain contrib moudle
Next
From: Simon Riggs
Date:
Subject: Re: Updates of SE-PostgreSQL 8.4devel patches (r1197)