]> 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:43 +0000 (17:26 +0900)
commitc41996b18c0bb1cbf7bdcdf6a01da8e3cbce9fc8
tree0078469c6b6f36d3647223e60cfe4d84e6e0fd99
parent151ce45825b317a9e06c40ddb48917bde9dc94fa
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