pgsql: Fix bug in checking of IDENTIFY_SYSTEM result. - Mailing list pgsql-committers

From Fujii Masao
Subject pgsql: Fix bug in checking of IDENTIFY_SYSTEM result.
Date
Msg-id E1XJf21-0008GF-7K@gemulon.postgresql.org
Whole thread Raw
List pgsql-committers
Fix bug in checking of IDENTIFY_SYSTEM result.

5a991ef8692ed0d170b44958a81a6bd70e90585 added new column into
the result of IDENTIFY_SYSTEM command. But it was not reflected into
several codes checking that result. Specifically though the number of
columns in the result was increased to 4, it was still compared with 3
in some replication codes.

Back-patch to 9.4 where the number of columns in IDENTIFY_SYSTEM
result was increased.

Report from Michael Paquier

Branch
------
REL9_4_STABLE

Details
-------
http://git.postgresql.org/pg/commitdiff/c41996b18c0bb1cbf7bdcdf6a01da8e3cbce9fc8

Modified Files
--------------
src/backend/replication/libpqwalreceiver/libpqwalreceiver.c |    4 ++--
src/bin/pg_basebackup/pg_basebackup.c                       |    4 ++--
src/bin/pg_basebackup/pg_receivexlog.c                      |    4 ++--
src/bin/pg_basebackup/receivelog.c                          |    4 ++--
4 files changed, 8 insertions(+), 8 deletions(-)


pgsql-committers by date:

Previous
From: Fujii Masao
Date:
Subject: pgsql: Fix bug in checking of IDENTIFY_SYSTEM result.
Next
From: Andres Freund
Date:
Subject: Re: pgsql: Fix bug in checking of IDENTIFY_SYSTEM result.