Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
Skip to content

Commit 6c3a7ba

Browse files
committed
Fix typo in ALTER SYSTEM output.
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
1 parent 9be95ef commit 6c3a7ba

File tree

1 file changed

+1
-1
lines changed
  • src/backend/utils/misc

1 file changed

+1
-1
lines changed

src/backend/utils/misc/guc.c

+1-1
Original file line numberDiff line numberDiff line change
@@ -6944,7 +6944,7 @@ write_auto_conf_file(int fd, const char *filename, ConfigVariable *head)
69446944

69456945
/* Emit file header containing warning comment */
69466946
appendStringInfoString(&buf, "# Do not edit this file manually!\n");
6947-
appendStringInfoString(&buf, "# It will be overwritten by ALTER SYSTEM command.\n");
6947+
appendStringInfoString(&buf, "# It will be overwritten by the ALTER SYSTEM command.\n");
69486948

69496949
errno = 0;
69506950
if (write(fd, buf.data, buf.len) != buf.len)

0 commit comments

Comments
 (0)