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

From Fujii Masao
Subject Re: pg_stop_backup wait bug fix
Date
Msg-id 3f0b79eb0811181930n7238c77ah1ee5c9a88d1d4988@mail.gmail.com
Whole thread Raw
In response to pg_stop_backup wait bug fix  (Simon Riggs <simon@2ndQuadrant.com>)
Responses Re: pg_stop_backup wait bug fix  (Heikki Linnakangas <heikki.linnakangas@enterprisedb.com>)
List pgsql-hackers
Hi,

On Wed, Oct 8, 2008 at 10:23 PM, Simon Riggs <simon@2ndquadrant.com> wrote:
> Minor bug fix for pg_stop_backup() to prevent it waiting longer than
> necessary in certain circumstances.

Why don't you use XLByteToPrevSeg like pg_xlogfile_name?
I think that we should uniform the logic as much as possible.

Regards,

-- 
Fujii Masao
NIPPON TELEGRAPH AND TELEPHONE CORPORATION
NTT Open Source Software Center


pgsql-hackers by date:

Previous
From: Tom Lane
Date:
Subject: Re: auto_explain contrib moudle
Next
From: "Robert Haas"
Date:
Subject: Re: Updated posix fadvise patch v19