pgsql: pg_rewind: Fix busted sanity check.

From: Robert Haas <rhaas(at)postgresql(dot)org>
To: pgsql-committers(at)postgresql(dot)org
Subject: pgsql: pg_rewind: Fix busted sanity check.
Date: 2017-07-21 17:05:04
Message-ID: E1dYbMO-0004nX-VL@gemulon.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

pg_rewind: Fix busted sanity check.

As written, the code would only fail the sanity check if none of the
columns returned by the server were of the expected type, but we want
it to fail if even one column is not of the expected type.

Discussion: http://postgr.es/m/CA+TgmoYuY5zW7JEs+1hSS1D=V5K8h1SQuESrq=bMNeo0B71Sfw@mail.gmail.com

Branch
------
REL9_6_STABLE

Details
-------
https://git.postgresql.org/pg/commitdiff/0fe21602e27fab20845e2345691b5522edd53c02

Modified Files
--------------
src/bin/pg_rewind/libpq_fetch.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)

Browse pgsql-committers by date

  From Date Subject
Next Message Tom Lane 2017-07-21 17:24:47 Re: [COMMITTERS] pgsql: Add a Gather executor node.
Previous Message Tom Lane 2017-07-21 16:51:56 pgsql: Re-establish postgres_fdw connections after server or user mappi