diff --git a/src/backend/libpq/auth.c b/src/backend/libpq/auth.c
index 70b0b93..56d5581 100644
--- a/src/backend/libpq/auth.c
+++ b/src/backend/libpq/auth.c
@@ -272,8 +272,8 @@ auth_failed(Port *port, int status, char *logdetail)
 			break;
 	}
 
-	cdetail = psprintf(_("Connection matched pg_hba.conf line %d: \"%s\""),
-					   port->hba->linenumber, port->hba->rawline);
+	cdetail = psprintf(_("Connection matched pg_hba.conf line %d"),
+					   port->hba->linenumber);
 	if (logdetail)
 		logdetail = psprintf("%s\n%s", logdetail, cdetail);
 	else
