Обсуждение: pgsql: Fix bug in checking of IDENTIFY_SYSTEM result.

Поиск
Список
Период
Сортировка

pgsql: Fix bug in checking of IDENTIFY_SYSTEM result.

От
Fujii Masao
Дата:
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(-)