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 e752ee1d255731bf7c7753faaf4a91d6bb4894da..988a32e534786ef34b3b275e885893495cc0a3bd 100644 (file)
@@ -1246,7 +1246,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;
        }