From af51fea039bb8e00066d68d919312df1701dc03e Mon Sep 17 00:00:00 2001 From: Heikki Linnakangas Date: Mon, 5 Jun 2017 11:38:26 +0300 Subject: [PATCH] Fix typo in error message. Daniele Varrazzo Discussion: https://www.postgresql.org/message-id/CA+mi_8bqY5THP8hLKKSdMEr5GCz6M=hD6_uLbvFeyEBfwqUxeA@mail.gmail.com --- src/backend/replication/libpqwalreceiver/libpqwalreceiver.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/backend/replication/libpqwalreceiver/libpqwalreceiver.c b/src/backend/replication/libpqwalreceiver/libpqwalreceiver.c index ebe9c91e98..726d1b5bd8 100644 --- a/src/backend/replication/libpqwalreceiver/libpqwalreceiver.c +++ b/src/backend/replication/libpqwalreceiver/libpqwalreceiver.c @@ -806,11 +806,10 @@ libpqrcv_processTuples(PGresult *pgres, WalRcvExecResult *walres, /* Make sure we got expected number of fields. */ if (nfields != nRetTypes) ereport(ERROR, - (errmsg("invalid query responser"), + (errmsg("invalid query response"), errdetail("Expected %d fields, got %d fields.", nRetTypes, nfields))); - walres->tuplestore = tuplestore_begin_heap(true, false, work_mem); /* Create tuple descriptor corresponding to expected result. */ -- 2.40.0