]> granicus.if.org Git - postgresql/commit
Revert "Fix bug in checking of IDENTIFY_SYSTEM result."
authorFujii Masao <fujii@postgresql.org>
Tue, 19 Aug 2014 09:30:38 +0000 (18:30 +0900)
committerFujii Masao <fujii@postgresql.org>
Tue, 19 Aug 2014 09:33:17 +0000 (18:33 +0900)
commite0d010f64ca2b3b7d41ca961549388cf4fbe8aed
tree22f3e1f595d12463113d81bb805597bc0cc0a961
parentc41996b18c0bb1cbf7bdcdf6a01da8e3cbce9fc8
Revert "Fix bug in checking of IDENTIFY_SYSTEM result."

This reverts commit 083d29c65b7897f90c70e6dc0a4240a5fa75c8f2.

The commit changed the code so that it causes an errors when
IDENTIFY_SYSTEM returns three columns. But which prevents us
from using the replication-related utilities against the server
with older version. This is not what we want. For that
compatibility, we allow the utilities to receive three columns
as the result of IDENTIFY_SYSTEM eventhough it actually returns
four columns in 9.4 or later.

Pointed out by Andres Freund.
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