Skip to content

Commit 1da48a9

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 3b04eb9 commit 1da48a9

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
@@ -6656,7 +6656,7 @@ write_auto_conf_file(int fd, const char *filename, ConfigVariable *head)
66566656

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

66616661
errno = 0;
66626662
if (write(fd, buf.data, buf.len) != buf.len)

0 commit comments

Comments
 (0)