Re: Streaming replication and pg_xlogfile_name() - Mailing list pgsql-hackers

From Fujii Masao
Subject Re: Streaming replication and pg_xlogfile_name()
Date
Msg-id 3f0b79eb1002250745y6c4bac5dq2178f6b1df49b6e8@mail.gmail.com
Whole thread Raw
In response to Re: Streaming replication and pg_xlogfile_name()  (Simon Riggs <simon@2ndQuadrant.com>)
List pgsql-hackers
On Thu, Feb 25, 2010 at 6:33 PM, Simon Riggs <simon@2ndquadrant.com> wrote:
> If we expose the timeline as part of an "xlog location", then we should
> do that everywhere as a change for 9.0.

Everywhere? You mean changing the format of the return value of all
the following functions?

- pg_start_backup()
- pg_stop_backup()
- pg_switch_xlog()
- pg_current_xlog_location()
- pg_current_xlog_insert_location()

> Clearly, "xlog location" has no
> meaning without the timeline anyway, so this seems like a necessary
> change not just a quick fix. It breaks compatibility, but since we're
> changing replication in 9.0 that shouldn't be a problem.

Umm... ISTM a large number of users would complain about that
change because of compatibility.

Regards,

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


pgsql-hackers by date:

Previous
From: Tom Lane
Date:
Subject: Re: NaN/Inf fix for ECPG
Next
From: Alvaro Herrera
Date:
Subject: Re: Odd CVS revision number