]> granicus.if.org Git - postgresql/commit
Fix bug in checking of IDENTIFY_SYSTEM result.
authorFujii Masao <fujii@postgresql.org>
Tue, 19 Aug 2014 08:26:07 +0000 (17:26 +0900)
committerFujii Masao <fujii@postgresql.org>
Tue, 19 Aug 2014 08:26:07 +0000 (17:26 +0900)
commit083d29c65b7897f90c70e6dc0a4240a5fa75c8f2
tree63315b14275d74fc48e924d4fa5dd2a8ed654d46
parent8605bc75219fd9a46fbb38909f83bcdae56b6e01
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
src/backend/replication/libpqwalreceiver/libpqwalreceiver.c
src/bin/pg_basebackup/pg_basebackup.c
src/bin/pg_basebackup/pg_receivexlog.c
src/bin/pg_basebackup/receivelog.c