Re: Immediate standby promotion - Mailing list pgsql-hackers

From Robert Haas
Subject Re: Immediate standby promotion
Date
Msg-id CA+TgmoZYC7RCHLUzuSzmz2BYnnfzwxbasbMzLoGt0VjvdMPFJA@mail.gmail.com
Whole thread Raw
In response to Re: Immediate standby promotion  (Andres Freund <andres@2ndquadrant.com>)
List pgsql-hackers
On Thu, Sep 25, 2014 at 1:30 PM, Andres Freund <andres@2ndquadrant.com> wrote:
>> Yes it does cause data loss. The clueful operator has no idea where
>> they are so there is no "used rightly" in that case.
>
> What? There definitely are cases where you don't need to know that to
> the T. Just think of the - quite frequently happening - need to promote
> a standby to run tests or reporting queries that can't be run on a
> standby.
>
> Sure, you shouldn't use it if you expect a very specific set of the data
> being there, but that's not always necessary.

Very well put.  +1.

-- 
Robert Haas
EnterpriseDB: http://www.enterprisedb.com
The Enterprise PostgreSQL Company



pgsql-hackers by date:

Previous
From: Andres Freund
Date:
Subject: Re: jsonb format is pessimal for toast compression
Next
From: Peter Eisentraut
Date:
Subject: Re: proposal: rounding up time value less than its unit.