]> granicus.if.org Git - postgresql/commitdiff
Fix minor error message style violation.
authorTom Lane <tgl@sss.pgh.pa.us>
Tue, 20 Dec 2016 23:54:13 +0000 (18:54 -0500)
committerTom Lane <tgl@sss.pgh.pa.us>
Tue, 20 Dec 2016 23:54:13 +0000 (18:54 -0500)
Primary error messages should not end with a period, since they're
generally not written as full sentences.  Oversight in 41493bac3.

src/backend/libpq/auth.c

index b8ebf1b6f39a66d93774d4ce3371401452d98440..72306e639cdaa2aa8fc93aea4fdfbb0572ac9dc0 100644 (file)
@@ -716,7 +716,7 @@ CheckMD5Auth(Port *port, char **logdetail)
        if (!pg_backend_random(md5Salt, 4))
        {
                ereport(LOG,
-                               (errmsg("could not generate random MD5 salt.")));
+                               (errmsg("could not generate random MD5 salt")));
                return STATUS_ERROR;
        }