pg_rewind: Fix busted sanity check.

Robert Haas <rhaas@postgresql.org>

Commit: 063ff9210c54928a2d19f9e826486621809e1b82
Author: Robert Haas <rhaas@postgresql.org>
Date: 2017-07-21T16:59:22Z
Releases: 10.0
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

Files

PathChange+/−
src/bin/pg_rewind/libpq_fetch.c modified +2 −2

Discussion