Re: Time-Delayed Standbys - Mailing list pgsql-hackers

From Simon Riggs
Subject Re: Time-Delayed Standbys
Date
Msg-id CA+U5nMK1Ww0r83aVXwiVMHoADeiKH8qXNGNQq6qzWFXZuBvYtw@mail.gmail.com
Whole thread Raw
In response to Re: Time-Delayed Standbys  (KONDO Mitsumasa <kondo.mitsumasa@lab.ntt.co.jp>)
Responses Re: Time-Delayed Standbys
List pgsql-hackers
On 12 December 2013 10:42, KONDO Mitsumasa
<kondo.mitsumasa@lab.ntt.co.jp> wrote:

>> I agree with your request here, but I don't think negative values are
>> the right way to implement that, at least it would not be very usable.
>
> I think that my proposal is the easiest and simplist way to solve this
> problem. And I believe that the man who cannot calculate the difference in
> time-zone doesn't set replication cluster across continents.
>
>
>> My suggestion would be to add the TZ to the checkpoint record. This
>> way all users of WAL can see the TZ of the master and act accordingly.
>> I'll do a separate patch for that.
>
> It is something useful for also other situations. However, it might be
> going to happen long and complicated discussions... I think that our hope is
> to commit this patch in this commit-fest or next final commit-fest.

Agreed on no delay for the delay patch, as shown by my commit.

Still think we need better TZ handling.

-- Simon Riggs                   http://www.2ndQuadrant.com/PostgreSQL Development, 24x7 Support, Training & Services



pgsql-hackers by date:

Previous
From: KONDO Mitsumasa
Date:
Subject: Re: Optimize kernel readahead using buffer access strategy
Next
From: Andres Freund
Date:
Subject: Re: Time-Delayed Standbys