Re: Increasing timeout of poll_query_until for TAP tests

Michael Paquier <michael.paquier@gmail.com>

From: Michael Paquier <michael.paquier@gmail.com>
To: Alvaro Herrera <alvherre@2ndquadrant.com>
Cc: PostgreSQL mailing lists <pgsql-hackers@postgresql.org>
Date: 2016-07-25T13:05:28Z
Lists: pgsql-hackers

Attachments

On Mon, Jul 25, 2016 at 2:52 PM, Michael Paquier
<michael.paquier@gmail.com> wrote:
> Ah, yes, and that's a stupid mistake. We had better use
> replay_location instead of write_location. There is a risk that
> records have not been replayed yet even if they have been written on
> the standby, so it is possible that the query looking at tab_int may
> not see this relation.

Or in short, the attached fixes 2) and will help providing input for 1)..
-- 
Michael

Commits

  1. In tests, await an LSN no later than the recovery target.