pg.ddx.io  pgsql-committers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
pgsql: pg_rewind: Fix busted sanity check.
3+ messages / 1 participants
[nested] [flat]

* pgsql: pg_rewind: Fix busted sanity check.
@ 2017-07-21 17:05 Robert Haas <rhaas@postgresql.org>
  0 siblings, 0 replies; 3+ messages in thread

From: Robert Haas @ 2017-07-21 17:05 UTC (permalink / raw)
  To: 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
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/063ff9210c54928a2d19f9e826486621809e1b82

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


-- 
Sent via pgsql-committers mailing list (pgsql-committers@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-committers


^ permalink  raw  reply  [nested|flat] 3+ messages in thread

* pgsql: pg_rewind: Fix busted sanity check.
@ 2017-07-21 17:05 Robert Haas <rhaas@postgresql.org>
  0 siblings, 0 replies; 3+ messages in thread

From: Robert Haas @ 2017-07-21 17:05 UTC (permalink / raw)
  To: 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(-)


-- 
Sent via pgsql-committers mailing list (pgsql-committers@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-committers


^ permalink  raw  reply  [nested|flat] 3+ messages in thread

* pgsql: pg_rewind: Fix busted sanity check.
@ 2017-07-21 17:05 Robert Haas <rhaas@postgresql.org>
  0 siblings, 0 replies; 3+ messages in thread

From: Robert Haas @ 2017-07-21 17:05 UTC (permalink / raw)
  To: 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_5_STABLE

Details
-------
https://git.postgresql.org/pg/commitdiff/c54e4a55f4688bee23d3170aff1d82e7c2c2414f

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


-- 
Sent via pgsql-committers mailing list (pgsql-committers@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-committers


^ permalink  raw  reply  [nested|flat] 3+ messages in thread


end of thread, other threads:[~2017-07-21 17:05 UTC | newest]

Thread overview: 3+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2017-07-21 17:05 pgsql: pg_rewind: Fix busted sanity check. Robert Haas <rhaas@postgresql.org>
2017-07-21 17:05 pgsql: pg_rewind: Fix busted sanity check. Robert Haas <rhaas@postgresql.org>
2017-07-21 17:05 pgsql: pg_rewind: Fix busted sanity check. Robert Haas <rhaas@postgresql.org>

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox