From 948b36ed382d9f5991ac97c639df85b5b05dbbf1 Mon Sep 17 00:00:00 2001 From: Andres Freund Date: Fri, 7 Sep 2012 18:25:33 +0200 Subject: [PATCH] Trivial fix to allow pg_basebackup to work with our modifications --- src/bin/pg_basebackup/pg_basebackup.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/bin/pg_basebackup/pg_basebackup.c b/src/bin/pg_basebackup/pg_basebackup.c index bc67a3cb4d..a66cc084fc 100644 --- a/src/bin/pg_basebackup/pg_basebackup.c +++ b/src/bin/pg_basebackup/pg_basebackup.c @@ -935,7 +935,7 @@ BaseBackup(void) progname, PQerrorMessage(conn)); disconnect_and_exit(1); } - if (PQntuples(res) != 1 || PQnfields(res) != 3) + if (PQntuples(res) != 1 || PQnfields(res) != 5) { fprintf(stderr, _("%s: could not identify system, got %d rows and %d fields\n"), progname, PQntuples(res), PQnfields(res)); -- 2.39.5