pgsql: Revert "Fix bug in checking of IDENTIFY_SYSTEM result." - Mailing list pgsql-committers

From Fujii Masao
Subject pgsql: Revert "Fix bug in checking of IDENTIFY_SYSTEM result."
Date
Msg-id E1XJg4h-0000ur-7Z@gemulon.postgresql.org
Whole thread Raw
List pgsql-committers
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.

Branch
------
master

Details
-------
http://git.postgresql.org/pg/commitdiff/c4762886539b06da682045e19ba73dcee3789638

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(-)


pgsql-committers by date:

Previous
From: Andres Freund
Date:
Subject: Re: pgsql: Fix bug in checking of IDENTIFY_SYSTEM result.
Next
From: Fujii Masao
Date:
Subject: pgsql: Revert "Fix bug in checking of IDENTIFY_SYSTEM result."