Re: pg_stop_backup wait bug fix

From: "Fujii Masao" <masao(dot)fujii(at)gmail(dot)com>
To: "Simon Riggs" <simon(at)2ndquadrant(dot)com>
Cc: pgsql-hackers <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: pg_stop_backup wait bug fix
Date: 2008-11-19 03:30:54
Message-ID: 3f0b79eb0811181930n7238c77ah1ee5c9a88d1d4988@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Hi,

On Wed, Oct 8, 2008 at 10:23 PM, Simon Riggs <simon(at)2ndquadrant(dot)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

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Robert Haas 2008-11-19 03:55:42 Re: Updated posix fadvise patch v19
Previous Message Tom Lane 2008-11-19 03:00:12 Re: auto_explain contrib moudle