pgsql: Fix bug in checking of IDENTIFY_SYSTEM result.

From: Fujii Masao <fujii(at)postgresql(dot)org>
To: pgsql-committers(at)postgresql(dot)org
Subject: pgsql: Fix bug in checking of IDENTIFY_SYSTEM result.
Date: 2014-08-19 08:44:41
Message-ID: E1XJf21-0008GE-7F@gemulon.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

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

Branch
------
master

Details
-------
http://git.postgresql.org/pg/commitdiff/083d29c65b7897f90c70e6dc0a4240a5fa75c8f2

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

Responses

Browse pgsql-committers by date

  From Date Subject
Next Message Andres Freund 2014-08-19 08:48:24 Re: pgsql: Fix bug in checking of IDENTIFY_SYSTEM result.
Previous Message Noah Misch 2014-08-19 03:10:10 pgsql: Install libpq DLL with $(INSTALL_SHLIB).