Re: Replication slot xmin is not reset if HS feedback is turned off while standby is shut down

From: Simon Riggs <simon(at)2ndquadrant(dot)com>
To: Ants Aasma <ants(dot)aasma(at)eesti(dot)ee>
Cc: Craig Ringer <craig(at)2ndquadrant(dot)com>, PostgreSQL-development <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: Replication slot xmin is not reset if HS feedback is turned off while standby is shut down
Date: 2017-01-26 12:20:06
Message-ID: CANP8+jLx2QwKXAKwXU28sSscfbBHahFM2XTHmS5yDYaCX5S0yw@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On 13 January 2017 at 10:17, Ants Aasma <ants(dot)aasma(at)eesti(dot)ee> wrote:
> On 5 Jan 2017 2:54 a.m., "Craig Ringer" <craig(at)2ndquadrant(dot)com> wrote:
>> Ants, do you think you'll have a chance to convert your shell script
>> test into a TAP test in src/test/recovery?
>>
>> Simon has said he would like to commit this fix. I'd personally be
>> happier if it had a test to go with it.
>>
>> You could probably just add to src/test/recover/t/001 which now
>> contains my additions for hot standby.
>
> Do you feel the test in the attached patch is enough or would you like
> to see anything else covered?

That looks good, thanks for the patch.

Applying in next few hours, barring objections; then backpatching code
(without tests).

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

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Kyotaro HORIGUCHI 2017-01-26 12:42:12 Re: Radix tree for character conversion
Previous Message Simon Riggs 2017-01-26 12:18:44 Allow interrupts on waiting standby