Re: simplify sequence test

From: Peter Eisentraut <peter(dot)eisentraut(at)2ndquadrant(dot)com>
To: Petr Jelinek <petr(dot)jelinek(at)2ndquadrant(dot)com>, pgsql-hackers <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: simplify sequence test
Date: 2017-01-26 20:24:43
Message-ID: b5ba00c2-0362-f2ff-eec5-87c0a5f30d48@2ndquadrant.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On 1/25/17 5:29 AM, Petr Jelinek wrote:
> On 25/01/17 03:48, Peter Eisentraut wrote:
>> We maintain a separate test output file sequence_1.out because the
>> log_cnt value can vary if there is a checkpoint happening at the right
>> time. So we have to maintain two files because of a one character
>> difference. I propose the attached patch to restructure the test a bit
>> to avoid this, without loss of test coverage.
>>
>
> +1, looks good.

committed

--
Peter Eisentraut 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 Alvaro Herrera 2017-01-26 20:36:39 Re: Allow interrupts on waiting standby
Previous Message Daniel Verite 2017-01-26 20:15:32 Re: \if, \elseif, \else, \endif (was Re: PSQL commands: \quit_if, \quit_unless)