Fix error messsage typo
authorTakuma Hoshiai <hoshiai@sraoss.co.jp>
Tue, 4 Feb 2020 03:00:27 +0000 (12:00 +0900)
committerTakuma Hoshiai <hoshiai@sraoss.co.jp>
Tue, 4 Feb 2020 03:00:27 +0000 (12:00 +0900)
src/protocol/pool_process_query.c

index 535141c26679fb275fe3f52b16d55fcd0610a90d..637f2f6b0546a968420548ef50e5e5cdcb843c42 100644 (file)
@@ -879,7 +879,7 @@ POOL_STATUS SimpleForwardToBackend(char kind, POOL_CONNECTION *frontend,
        }
        else if (len < 0)
         ereport(ERROR,
-            (errmsg("unable to forward message to frontend"),
+            (errmsg("unable to forward message to backend"),
                  errdetail("invalid message length:%d for message:%c", len, kind)));