Skip to content

Commit 3c966ce

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 28d177e commit 3c966ce

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6833,7 +6833,7 @@ write_auto_conf_file(int fd, const char *filename, ConfigVariable *head)
68336833

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

68386838
errno = 0;
68396839
if (write(fd, buf.data, buf.len) != buf.len)

0 commit comments

Comments
 (0)