]> granicus.if.org Git - postgresql/commitdiff
Fix typo in ALTER SYSTEM output.
authorTom Lane <tgl@sss.pgh.pa.us>
Thu, 9 Nov 2017 16:57:20 +0000 (11:57 -0500)
committerTom Lane <tgl@sss.pgh.pa.us>
Thu, 9 Nov 2017 16:57:43 +0000 (11:57 -0500)
The header comment written into postgresql.auto.conf by ALTER SYSTEM
should match what initdb put there originally.

Feike Steenbergen

Discussion: https://postgr.es/m/CAK_s-G0KcKdO=0hqZkwb3s+tqZuuHwWqmF5BDsmoO9FtX75r0g@mail.gmail.com

src/backend/utils/misc/guc.c

index a9f31efd13a381eaac8493feb1c8258a877c9282..e393fd4786bffd9eddc7a4baadb5fe365ec3fb48 100644 (file)
@@ -6514,7 +6514,7 @@ write_auto_conf_file(int fd, const char *filename, ConfigVariable *head)
 
        /* Emit file header containing warning comment */
        appendStringInfoString(&buf, "# Do not edit this file manually!\n");
-       appendStringInfoString(&buf, "# It will be overwritten by ALTER SYSTEM command.\n");
+       appendStringInfoString(&buf, "# It will be overwritten by the ALTER SYSTEM command.\n");
 
        errno = 0;
        if (write(fd, buf.data, buf.len) != buf.len)