Revert "Fix bug in checking of IDENTIFY_SYSTEM result."
Fujii Masao <fujii@postgresql.org>
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.
Files
| Path | Change | +/− |
|---|---|---|
| src/backend/replication/libpqwalreceiver/libpqwalreceiver.c | modified | +2 −2 |
| src/bin/pg_basebackup/pg_basebackup.c | modified | +2 −2 |
| src/bin/pg_basebackup/pg_receivexlog.c | modified | +2 −2 |
| src/bin/pg_basebackup/receivelog.c | modified | +2 −2 |