Add missing newline in one libpq error message.
authorTom Lane <[email protected]>
Thu, 31 Mar 2022 15:24:26 +0000 (11:24 -0400)
committerTom Lane <[email protected]>
Thu, 31 Mar 2022 15:24:26 +0000 (11:24 -0400)
Oversight in commit a59c79564.  Back-patch, as that was.
Noted by Peter Eisentraut.

Discussion: https://postgr.es/m/7f85ef6d-250b-f5ec-9867-89f0b16d019f@enterprisedb.com

src/interfaces/libpq/fe-secure-openssl.c

index f5f9c5e7e7be9246d7798972c547b7cede582b4e..6926135b2ceb586c0e5d16c8e0787c418310393d 100644 (file)
@@ -1126,7 +1126,7 @@ initialize_SSL(PGconn *conn)
        if (!S_ISREG(buf.st_mode))
        {
            printfPQExpBuffer(&conn->errorMessage,
-                             libpq_gettext("private key file \"%s\" is not a regular file"),
+                             libpq_gettext("private key file \"%s\" is not a regular file\n"),
                              fnbuf);
            return -1;
        }